The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
How do you divide a calculated field by a measure in Power BI?
i.e. % Past Due = (Past Due Amount / Open Amount) * 100
Solved! Go to Solution.
I was able to get this to work with the function below. Thanks for your help!
Past Due % = ('AR Dashboard'[Past Due Amount] / SUM('AR Dashboard'[Open Amount])) * 100
I was able to get this to work with the function below. Thanks for your help!
Past Due % = ('AR Dashboard'[Past Due Amount] / SUM('AR Dashboard'[Open Amount])) * 100
Hi @TDERUSSO
I am very gald to hear you find a solution, please mark it as answer, so other people will find solution easily.
If you have other issues, please let me know.
Best Regards,
Angelia
Is this what you are trying to do?
% Past Due Measure = DIVIDE ( SUM ( Table[Past Due Amount Column] ), [Open Amount Measure], 0 )
You can then format this as %
Thanks for the quick response Sean.
Yes, this is what I'm trying to do, but the past due amount is a calculated field and the open amount is a measure. When I try to put the formula in this way, the argument won't allow me to select past due amount. It wants me to select something from the table.
You can't select a COLUMN because you are creating a MEASURE
so any COLUMN you want to reference needs to be aggregated somehow - did you wrap it in SUM ( TableName[Column Name] )
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
112 | |
81 | |
78 | |
43 | |
37 |
User | Count |
---|---|
157 | |
112 | |
64 | |
60 | |
54 |