This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowThe Fabric community is upgrading! Read all of the details including the timeline and what you can expect. Learn more
Hello,
I am 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
Can you try:
Yearly player group SOV label =
VAR TotalGRP = CALCULATE(
[Dynamic GRP],
ALLSELECTED(Data[Channel group]),
VALUES(Data[Year])
)
RETURN
IF(
TotalGRP > 0,
ROUND(DIVIDE([Dynamic GRP], TotalGRP) * 100, 0) & "%",
"0%"
)
It gives the same result as mine, so not really correct, but thank you
Hi All,
Firslty Kedar_Pande thank you for your solution!
And @markzuev6 ,Hello, in order to better help you with this issue, would it be convenient for you to provide some sample data or PBIX files? This way I can directly see exactly what MEASURE does and provide more specific advice. Thank you for your understanding and cooperation!
If you are not sure how to upload a pbix file, you can refer to the link below, looking forward to your reply!
How to Get Your Question Answered Quickly - Microsoft Fabric Community
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
| User | Count |
|---|---|
| 24 | |
| 22 | |
| 20 | |
| 18 | |
| 14 |
| User | Count |
|---|---|
| 31 | |
| 26 | |
| 23 | |
| 20 | |
| 20 |