Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric certified for FREE! Don't miss your chance! Learn more
Hello,
I was trying to create data labels showing %, while the chart should show absolute numbers.
My current formula works well if I switch the X and Y axis dimensions, but the calculation goes wrong in the current set up. Please advise how the formula should look like.
Here is my chart example:
My current formula:
Thank you
Solved! Go to Solution.
Hi, @markzuev6
Based on your description, I created the following dataset:
The relationship between them is as follows:
Based on the expression you provided, you want to find the current [Dynamic GRP] as a percentage of the current year (clearing 'Dynamic variables (TopN)' [Player type] and Data [Channel group]).
Create a measure using the following DAX expression:
Measure = ROUND(
DIVIDE(
[Dynamic GRP],
CALCULATE(
[Dynamic GRP],
ALLSELECTED('Dynamic variables (TopN)'[Player Type]),
ALLSELECTED(Data[Channel Group]),
VALUES(Data[Year])
)
)*100 , 0
)/100
The visual settings are as follows:
If you still have any doubts, you can clarify and clearly describe your expected results in the follow-up along with examples.
Best Regards
Jianpeng Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, @markzuev6
Based on your description, I created the following dataset:
The relationship between them is as follows:
Based on the expression you provided, you want to find the current [Dynamic GRP] as a percentage of the current year (clearing 'Dynamic variables (TopN)' [Player type] and Data [Channel group]).
Create a measure using the following DAX expression:
Measure = ROUND(
DIVIDE(
[Dynamic GRP],
CALCULATE(
[Dynamic GRP],
ALLSELECTED('Dynamic variables (TopN)'[Player Type]),
ALLSELECTED(Data[Channel Group]),
VALUES(Data[Year])
)
)*100 , 0
)/100
The visual settings are as follows:
If you still have any doubts, you can clarify and clearly describe your expected results in the follow-up along with examples.
Best Regards
Jianpeng Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 70 | |
| 60 | |
| 47 | |
| 20 | |
| 16 |