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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Kudoed Authors