The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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? something like this....outstanding value for (1's)/total outstanding value.
Solved! Go to Solution.
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
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
Thanks a lot!
User | Count |
---|---|
26 | |
10 | |
8 | |
6 | |
6 |
User | Count |
---|---|
31 | |
11 | |
10 | |
10 | |
9 |