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

Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now

Reply
kritilodha
New Member

Waterfall chart issue

Hi,

 

I have created a waterfall chart with beginning and ending value as well as the bridge showing variance. Looks like this - PyQ and CQ are Previous Year Quarter and Current Quarter market share for a particular company. And the bridges in between are the share variance related to the segment - commercial and consumer.

kritilodha_0-1665717307878.png

The above chart works fine when I have more than 2 data points in between the beginning and ending value (like in the above chart where there are values for both commercial and consumer). However, when I filter out on a particular country which has only consumer data, the chart doesn't show me the market share for the company - it just shows me the variance - look below - 

kritilodha_1-1665717498220.png

The formula that I have used is this - 

 

Waterfall Bridge Share change SEGMENT =
VAR ShareLY = CALCULATE([Company Share %], PARALLELPERIOD('Calendar'[Date],-4,QUARTER))

RETURN

SWITCH(SELECTEDVALUE('Walk CQ'[Walk]),"PYQ",

SWITCH(SELECTEDVALUE(PC[Segment]),"Consumer",-1*[Segment ShareVariance], "Commercial",-1*[Segment ShareVariance],

ShareLY
),
"CQ",
SWITCH(SELECTEDVALUE(PC[Segment]),"Consumer",0,"Commercial",0,
[Company Share %]))
 
Can someone pls help me sort out the issue I am facing in the second chart? I would like to be able to see the PYQ and CQ market share along with the share variance for consumer. What needs to be edited in the formula?
 
Plssss help!!!!
1 REPLY 1
v-shex-msft
Community Support
Community Support

Hi @kritilodha,

Perhaps you can try adding '+0' in your formula statements. They will force convert the blank value to zero to keep the calculations.

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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

October NL Carousel

Fabric Community Update - October 2024

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