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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
bdehning
Post Prodigy
Post Prodigy

Measure works on desktop but not when published.

I use the following measure to Show top 30 results for a clustered bar chart.  

 

Top 30 Injury Cause Desc. Freq then Sum = CALCULATE([Count of Total Gross Incurred +0],KEEPFILTERS(TOPN(30,ALL(LossRunToExcel[Injury Cause Desc Not Specified]),[Count of Total Gross Incurred +0],DESC,[Sum of Total Gross Incurred], DESC)))
 
It works fine on desktop Power BI but once I publish it, it is as if the filter for TOP N is not working as I see way more than 30. 
 
What may be the problem?   
1 ACCEPTED SOLUTION
Greg_Deckler
Community Champion
Community Champion

@bdehning First things first, make sure to hit the "Reset to default" icon in the ribbon in the Service. That can often fix issues like this.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

3 REPLIES 3
Greg_Deckler
Community Champion
Community Champion

@bdehning First things first, make sure to hit the "Reset to default" icon in the ribbon in the Service. That can often fix issues like this.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

It's funny how many things that did fix when I reset all filters, slicers and other data on the service side.    

What causes that to occur?

@bdehning Personal bookmarks are automatically created when you visit a report in the Service. It is meant to be a helpful feature and in most cases it is. You come back to the report and it is filtered the same way you left it. But, it can cause issues like this.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors