Forum Discussion
emmanuelkamara1
Helper I
6 years agoNeed 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
Super User
6 years agoHI 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
- emmanuelkamara16 years ago
Helper I
Thanks a lot!