Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Setosa
Frequent Visitor

tornado chart (percentage and real number together)

I have 2 tornado charts, i would like to see percantage and the real number together as data label, if it is possible (without creating a bookmark)? many thanks in advance.
Expected Answer:
4832K (26%) 914K (25%)


Tornado_Percent =
DIVIDE (
    CALCULATE ( [AOP @FY24 + AOP @FY25] ),
    CALCULATE (
        [AOP @FY24 + AOP @FY25],
        ALLEXCEPT ( 'Calendar', 'Calendar'[Fiscal Year] )
    )
)



Setosa_0-1712742680416.png

 

3 REPLIES 3
v-yiruan-msft
Community Support
Community Support

Hi @Setosa ,

As checked the Format pane settings, there is no option to customize the data label of tornado chart...

vyiruanmsft_0-1714556630503.png

Best Regards

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Setosa
Frequent Visitor

thanks but i guess it is not working.

johnbasha33
Solution Sage
Solution Sage

@Setosa 
To display both the real number and the percentage together as data labels in your tornado charts, you can concatenate them within your measure. Below is a modified version of your measure Tornado_Percent:
Tornado_Percent_Label =
VAR TotalAmount = CALCULATE ( [AOP @FY24 + AOP @FY25] )
VAR TotalAmountAllYears =
CALCULATE (
[AOP @FY24 + AOP @FY25],
ALLEXCEPT ( 'Calendar', 'Calendar'[Fiscal Year] )
)
VAR Percentage = DIVIDE ( TotalAmount, TotalAmountAllYears )
RETURN
FORMAT ( TotalAmount, "#,##0" ) & " (" & FORMAT ( Percentage, "0%" ) & ")"

Did I answer your question? Mark my post as a solution! Appreciate your Kudos !!

Helpful resources

Announcements
PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

Top Solution Authors