Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi,
I sort of hate myself for asking, but I'm not clear what I need to do to fix this in the articles I've read.
I have three measures:
Solved! Go to Solution.
hi @stranter
It is a measure totals problem. Very common. See this post about it
https://community.powerbi.com/t5/DAX-Commands-and-Tips/Dealing-with-Measure-Totals/td-p/63376
https://community.powerbi.com/t5/Quick-Measures-Gallery/Measure-Totals-The-Final-Word/m-p/547907
and for your case, you could add a new measure as below:
New Measure =
SUMX ( VALUES ( 'Table'[Name] ), [SumOfMthGreenDispoPer10kHours] )
If not your case, please share your sample pbix file for us have a test.
Regards,
Lin
hi @stranter
It is a measure totals problem. Very common. See this post about it
https://community.powerbi.com/t5/DAX-Commands-and-Tips/Dealing-with-Measure-Totals/td-p/63376
https://community.powerbi.com/t5/Quick-Measures-Gallery/Measure-Totals-The-Final-Word/m-p/547907
and for your case, you could add a new measure as below:
New Measure =
SUMX ( VALUES ( 'Table'[Name] ), [SumOfMthGreenDispoPer10kHours] )
If not your case, please share your sample pbix file for us have a test.
Regards,
Lin
can you show the sumofhours as well in the result? so we can see what it is dividing
Just a doubt after looking at the table name with the measures. Are those measures of the columns. Just check.
I was expecting (With divide function)
SumOfHours = SUM(Timetable[Time_Task])
SumOfMthGreenDispo = SUM(MonthEnd[Mth_Green_Dispo])+0
SumOfMthGreenDispoPer10kHours = IFERROR((divide([SumOfMthGreenDispo],[SumOfHours])*10000)+0, 0)
Appreciate your Kudos. In case, this is the solution you are looking for, mark it as the Solution. In case it does not help, please provide additional information and mark me with @
Thanks. My Recent Blog -
Winner-Topper-on-Map-How-to-Color-States-on-a-Map-with-Winners , HR-Analytics-Active-Employee-Hire-and-Termination-trend
Power-BI-Working-with-Non-Standard-Time-Periods And Comparing-Data-Across-Date-Ranges
Connect on Linkedin
Thanks for your reply, much appreciated.
Those are measures of the columns Timetable[Time_Task] and MonthEnd[Mth_Green_Dispo] which are both whole numbers. I've added the divide function instead of using the symbol and I have the same result.
Stewart
Hi @stranter
How does your data model look? (Esp. connections between the tables) and where does your name/month-column come from?
Imke Feldmann (The BIccountant)
If you liked my solution, please give it a thumbs up. And if I did answer your question, please mark this post as a solution. Thanks!
How to integrate M-code into your solution -- How to get your questions answered quickly -- How to provide sample data -- Check out more PBI- learning resources here -- Performance Tipps for M-queries
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
112 | |
99 | |
73 | |
72 | |
49 |
User | Count |
---|---|
145 | |
109 | |
109 | |
90 | |
64 |