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
Juramirez
Resolver I
Resolver I

Show items with no data in switch function

Hi all!

 

I just did these steps and them works fine ( I named the result column as ColumnWithSpanishMonths).

Then, I'm doing a Bar chart (Axis=ColumnWithSpanishMonths, Values=Count of value x) , the Axis field has marked the option Show items with no data but there are some months that doesn't have a value in Values Field and my Bar chart doesn't show them. How can I fix this? 

 

1 ACCEPTED SOLUTION

Hi @Juramirez,

 

Just use the formula below to create a measure to calculate the Count of WorkerID, then show the measure as Values, MonthEspañol as Axis on the Chart. Smiley Happy

Measure = COUNTA(Data[WorkerID]) + 0

m1.PNGr1.PNG

 

Here is the modified pbix file for your reference. 

 

Regards

View solution in original post

10 REPLIES 10

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.