new measure

Forum home » Delegate support and help forum » Microsoft Power BI training and help » New Measure

New Measure

resolvedResolved · Low Priority · Version 2016

New Measure

Hi, I have some data where I need to calculate the total scores per month. Each month one of our teams needs to report a green or red score of 1300 balance sheet codes. I have a consolidated excel table of all of the data but I need to work out the total green and total red scores for each month and present this in a Dashboard. I have created a pivot in BI to show the total scores by region and month but I need to break this down further so we can look at % increase/decrease.

RE: New Measure

Hi Lesley,

Thank you for your question.

Jens, the trainer who can answer your question, is training today and so won't be able to get to your question straight away. I see you have it as low priority so I hope this will be OK.

I'm assigning this to Jens and he will get to it as soon as he can.

Kind regards,
Claire

RE: New Measure

Thank you Clare that's no problem. Its part of a dashboard with other information on so no rush to get back to me

RE: New Measure

Hi Lesley,

Thank you for the forum question.

If you have a matrix in the report and you want the monthly increase or decrease you can do something like below:

DecInc = DIVIDE(sum(Table[greenScore]),CALCULATE(sum(table[GreenScore]),PREVIOUSMONTH(Table[Date])),sum(Table[GreenScore]),0)

I do know the name of your tables or your headings. You will need to change my DAX and use your table names and headings.

Kind regards

Jens Bonde
Microsoft Office Specialist Trainer

Tel: 0207 987 3777
STL - https://www.stl-training.co.uk
98%+ recommend us

London's leader with UK wide delivery in Microsoft Office training and management training to global brands, FTSE 100, SME's and the public sector

Mon 28 Oct 2019: Automatically marked as resolved.

 

Training courses

 

Welcome. Please choose your application (eg. Excel) and then post your question.

Our Microsoft Qualified trainers will then respond within 24 hours (working days).

Frequently Asked Questions
What does 'Resolved' mean?

Any suggestions, questions or comments? Please post in the Improve the forum thread.


 

Power BI tip:

Data Model Shortcuts

Ctrl + Shift + L: Create a relationship between tables.
Ctrl + K: Create a new calculated column.
Ctrl + Shift + N: Create a new table.
Ctrl + Shift + K: Create a new measure.
Ctrl + D: Duplicate selected table or measure.

View all Power BI hints and tips


Server loaded in 0.1 secs.