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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Swish11
Frequent Visitor

Display Dollars and Percents on a Waterfall Chart

 

I am requesting assistance on whether it is possible to display both the $ amount and the % for each change in the waterfall chart. I created a manual table, with measure name and index number, which is used in a switch calculation to display the correct amounts on the chart.

 

WaterfallDValue = SWITCH(
    SELECTEDVALUE(WFDirect[Index]),
        1,[YTD_WF_D_ExpiringMarked],
        2,-[YTD_WF_D_Lost],
        3,-[YTD_WF_D_LO],
        5,+[YTD_WF_D_Rate],
        6,+[YTD_WF_D_N],
        7,+[YTD_WF_D_NO],
        8,+[YTD_WF_D_O],
        BLANK()
)

 

I created an additional field specific to the %. I attempted to add this as a tooltip but the % appeared in all the columns instead of the specific one, i.e. the new% showed on the lost $ column.

 

WaterfallD% = SWITCH(
    SELECTEDVALUE(WFDirect[Index]),
        1,[YTD_WF_D_ExpiringMarked],
        2,-[YTD_WF_D_Lost]/[YTD_WF_D_ExpiringMarked],
        3,-[YTD_WF_D_LO]/[YTD_WF_D_ExpiringMarked],
        5,+[YTD_WF_D_Rate]/[YTD_WF_D_ExpiringMarked],
        6,+[YTD_WF_D_N]/[YTD_WF_D_ExpiringMarked],
        7,+[YTD_WF_D_NO]/[YTD_WF_D_ExpiringMarked],
        8,+[YTD_WF_D_O]/[YTD_WF_D_ExpiringMarked],
        BLANK()
)

 

Is there any way to have the $ and the % appear on the chart?

 

Waterfall.JPG

 

 

 

 

 

1 ACCEPTED SOLUTION
v-chuncz-msft
Community Support
Community Support

@Swish11 

 

You may try adding FORMAT.

https://community.powerbi.com/t5/Desktop/Reading-different-data-types-in-the-same-table-from-Excel/m...

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

View solution in original post

1 REPLY 1
v-chuncz-msft
Community Support
Community Support

@Swish11 

 

You may try adding FORMAT.

https://community.powerbi.com/t5/Desktop/Reading-different-data-types-in-the-same-table-from-Excel/m...

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

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.