Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowTry your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now
I have a dynamic formula that calculates different measures such as charge per case, Net profit per case etc.
One calulation is % of cases which are medicare. Since most of the calulations are numbers, not percentage, I had to format this calculation as a pcercentage. When I try to calculate teh difference between two different versions of the dynamic formula using % of Medicare cases I get the following error
The formula for this is DF - DF2 = Value([dynamic formula]) - value([dynamic formula2])
I tried it with the value formulas and without [dynamic formula] - [dynamic formula2]
I cant share the file here because of HIPAA and I am hoping someone can help with this without the file. I could set up a dummy file with dummy info, but that would take quite a while due to the complexity of the dynamic formulas.
Solved! Go to Solution.
have you tried dynamics formatting?
Proud to be a Super User!
Change both dynamic formula measures so that they return numeric values, e.g. 0.15. Then set the format to be a %, with as many decimal places as you need. That way when you display the values in a visual they will show up as e.g. 15%, but you can still use the underlying numbers in other calculations.
Wont that change all of the calculations to show up as %?
have you tried dynamics formatting?
Proud to be a Super User!
That works, thanks.
you are welcome
Proud to be a Super User!
As @ryan_mayu suggests, using dynamic format strings is the way to go. You can use DAX code in there so that you can use logic to determine which is the correct format string.
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 23 | |
| 21 | |
| 20 | |
| 19 | |
| 13 |
| User | Count |
|---|---|
| 58 | |
| 52 | |
| 37 | |
| 31 | |
| 27 |