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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
CLCastroEn
Helper IV
Helper IV

Remove Filters

Hello!

I'm making a 100% stacked column chart. which is like this:

CLCastroEn_0-1603118203327.png

where the value field is given by the store count and legends are the state of the stores. Example: 81.6% do room count with stock, 9.05% count rooms with average stock, and so on. This chart serves me because it takes as the total all the room count that I have and performs the percentage of each of them. the problem arises when I use a filter and want to see only the low rooms:

CLCastroEn_1-1603118224127.png

it's this way, it takes about 100% just the filtered rooms. I need you to show how much the low rooms weigh, but with respect to the total. (should appear there about 5%)

I tried doing this

Valor = DIVIDE(COUNTA(Base[Store Name]), CALCULATE(COUNTA(Base[Store Nbr]), ALL(Base)))

but the chart doesn't pull the right percentages

please help

3 REPLIES 3
amitchandak
Super User
Super User

@CLCastroEn ,Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

CLCastroEn_0-1603123166458.png

the first column is the store count, the second column is the % of the count (which is precisely what I need the chart not to remove from the filter), and the last column "Value" is the percentage that throws away the measure that I create :

Valor = DIVIDE(COUNTA(Base[Store Name]), CALCULATE(COUNTA(Base[Store Nbr]), ALL(Base)))
column 2 and column 4 should give the same value.
I'll be @amitchandak

Hi @CLCastroEn ,

How did you calcute the column2 to count stores? Bascially it should show the same result, please see the picture below and check my sample file.

divide.png

Seems need more details about this issue for further discussion or you can consider sharing a sample file.

 

Best Regards,
Yingjie Li

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

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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