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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Anonymous
Not applicable

Slicer issue, not displaying values in the chart section

Hi All,

I created a table of distinct values to form a one to many relationship.

The name of the table is yearweeknum. It displays the year and the week number.

For now, I have 2 weeks listed which are 2021-30 and 2021-31.

In the charts tab, when I click on 2021-30, I can see all the values for that period. 

But when I click on 2021-31, it goes blank.

What can be the problem?

Also, the 2021-31 is appended to the table which contains 2021-30.

I am new to powerBI, so any help is appreciated.

Thank you!

1 ACCEPTED SOLUTION

Hi  @Anonymous ,

 

Try:

Alert Monitoring = CALCULATE(COUNTA('Alerts (2)'[InventoryPlanning]),FILTER(ALLSELECTED('Alerts (2)'),'Alerts (2)'[InventoryPlanning]<>"NB"))

 

Best Regards,
Kelly

Did I answer your question? Mark my reply as a solution!

View solution in original post

3 REPLIES 3
amitchandak
Super User
Super User

@Anonymous , This should not happen unless there is diff in values because of space of some character

 

Can you share a sample pbix after removing sensitive data.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

Thank you so much for your response.

There was an error when the data was appended, hence the problem.

But I do have an other issue. I have attached the image.

The values for Alert Monitoring in the table gives the correct values for each location.

But when I use a slicer, for the yearweeknum, I get the total sum value(which is in the card visualisation).

The formula I have used is 

Alert Monitoring = CALCULATE(COUNTA('Alerts (2)'[InventoryPlanning]),'Alerts (2)'[InventoryPlanning]<>"NB")
How can I change it, so as to get the values for particular location and yearweeknum? 

Megha3012_0-1629136049799.png

 

Hi  @Anonymous ,

 

Try:

Alert Monitoring = CALCULATE(COUNTA('Alerts (2)'[InventoryPlanning]),FILTER(ALLSELECTED('Alerts (2)'),'Alerts (2)'[InventoryPlanning]<>"NB"))

 

Best Regards,
Kelly

Did I answer your question? Mark my reply as a solution!

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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