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
decarsul
Helper IV
Helper IV

Issue with TotalYTD()

Good day all,

 

Today i'm trying to create a nice graph showing production with the year to date. But i'm having some issues with it when adding a legend or any other type of slicing really.

 

It seems that when a slice is added and 'null' values appear, it literally empties them in visuals as well. Where a visual based on the total doesn't show any gaps.

 

Any idea's on how to fix this?

 

decarsul_0-1669620286939.pngdecarsul_1-1669620298503.png

 

What i'm expecting, filled in with red.

decarsul_0-1669707346756.png

 

2 REPLIES 2
v-yadongf-msft
Community Support
Community Support

Hi @decarsul ,

 

If you want to show items with on data in visual, please try following steps.

 

This is my test table:

vyadongfmsft_0-1669699549779.png

 

Create a matrix visual and right click on rows, select "show items with no data".

vyadongfmsft_1-1669699696231.png

 

You will see the blank data:

vyadongfmsft_2-1669699767862.png

Best regards,

Yadong Fang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Good day sir,

 

That is something i tried, which doesn't result in what i want.

The purpose of a rolling sum / running total like totalytd in my book is to add or copy the previous value if there is nothing to add. In my case when there is nothing to add, it doens't show anything either.

 

So ... if there is no data to add, it should show the same as the previous cell.

To visualise, i have added the example i'm expecting in the original post. The figures marked in red is what i expect.

 

Also, when not using the legend it doesn't happen (if there is atleast 1 figure for Y axis available at least)

decarsul_0-1669707795574.png

 

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.