The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
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 |
---|---|
15 | |
13 | |
8 | |
6 | |
6 |
User | Count |
---|---|
27 | |
19 | |
13 | |
9 | |
5 |