Forum Discussion
emmanuelkamara1
6 years agoHelper I
Need help
How can I create a column that return outstanding values for only values =1? or how can I write a DAX function to devide the outstanding values for all (1's) and the total outstadning? somethi...
- 6 years ago
HI emmanuelkamara1 ,
You can try the following DAX expression by creating a measure:
CalcMeasure = DIVIDE(
CALCULATE(SUM(tablename[Outstanding_Balance]), tablename[30+_or_not] = 1), SUM(tablename[Outstanding_Balance]), 0
)Replace tablename in above expression with your table name and also check column names.
Thanks,
Pragati
- 6 years ago
Thanks a lot!
Pragati11
6 years agoSuper User
HI emmanuelkamara1 ,
You can try the following DAX expression by creating a measure:
CalcMeasure = DIVIDE(
CALCULATE(SUM(tablename[Outstanding_Balance]), tablename[30+_or_not] = 1), SUM(tablename[Outstanding_Balance]), 0
)
Replace tablename in above expression with your table name and also check column names.
Thanks,
Pragati
emmanuelkamara1
6 years agoHelper I
Thanks a lot!