Forum Discussion
Row by Row calculation for a measure
Unfortunately that doesn't solve the problem.
You should get an idividual calculation per row that you can then sum.
What's happening when you use it?
If I answered your question, please mark my post as solution, Appreciate your Kudos 👍
- elegant_cow3 years agoRegular Visitor
I am sorry, I think I misunderstood the real problem.
I can calulated the 'Load_Generation_diff' per row now (as per your forumla) and I am trying to calculate another measure from it. This measure is called 'Generation Sold'Generation Sold = IF( [Load_Gen_diff] < 0, ABS([Load_Gen_diff]) ,0)
My data is hourly so at the hourly level it all works (and it worked before as well)but as soon as I aggregate up (from hourly to daily), the 'Generation sold' doesnt show anything. I thought this was being 'Load_Generation_diff was no longer calculating per row (even with the new formula).
Sorry for not explaining the problem properly
- DOLEARY853 years ago
Resident Rockstar
Ah okay, i'm not sure without knowing the data model and fields - Are you able to share the PBIX file? or some sample data?
If I answered your question, please mark my post as solution, Appreciate your Kudos 👍