Forum Discussion
JCK2
6 years agoHelper III
Dax column calculation
Hello, i want to create a measure to arrive at one number as how much is due in the month, I wrote teh below calculation in column, however this is not helping me achive what i want. How does...
- 6 years ago
JCK2 - Yep!
Greg_Deckler
6 years agoCommunity Champion
JCK2 - are you looking for this?
Measure 2 =
DIVIDE(
COUNTROWS(FILTER(FILTER('Table',DISTINCT('Table'[Id])),NOT(ISBLANK([Total Overdue 1])) && [Total Overdue 1] = 0)),
SUM('Table'[Total Due 1])
)Greg_Deckler
6 years agoCommunity Champion
Apologies, maybe this:
Measure 2 =
DIVIDE(
COUNTROWS(FILTER(SUMMARIZE('Table',[Id],"__Count",IF(NOT(ISBLANK(MAX('Table'[Total Overdue 1]))) && MAX([Total Overdue 1]) = 0,1,0)),[__Count]=1)),
SUM('Table'[Total Due 1])
)- JCK26 years agoHelper III
Greg_Deckler Thanks a lot for your effort and patience, it worked :)!
I started using Powerbi from last week, always have been using Alteryx and Tableau...this was my first challange!!
Appreciate your help in onboarding and making me love PowerBi!!
Look forward to keep learning more things from you Greg!! You are a True Guru :)! Thanks once again!
- Greg_Deckler6 years agoCommunity ChampionAnytime!
- JCK26 years agoHelper III
Greg, do you have a pbx file? Thanks
- Greg_Deckler6 years agoCommunity Champion
JCK2 - Yep!