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
Sudharshan1919
Helper III
Helper III

Count on the Slicer

Hi All,

 

I am using slicer to filter the options for the page. I am using the below kind of filter.

Sudharshan1919_0-1684247949122.png

I need the filter to be modified like below, that is to get the count of that particular meter count beside that filter.

Sudharshan1919_1-1684248835541.png

Thanks,

Sudharshan

 

 

3 REPLIES 3
Kishore_KVN
Super User
Super User

Hello @Sudharshan1919 use below column to get the same 

Meter Slicer = 'Table'[Meter] &" ("&CALCULATE(COUNT('Table'[Meter]),ALLEXCEPT('Table','Table'[Meter]))&")"

Drag this meter slicer into slicer. 

Output looks like this:

Kishore_KVN_0-1684250433102.png

 

If this post helps, then please consider accepting it as the solution to help other members find it more quickly. Thank You!!

Hi @Kishore_KVN 

 

Below is the how my data looks like. I have kept the drill through functionality for the Resources Column to see the list of resources that are in the particular ResourceGroup/DeliveryGroup and its respective costs. 

 

Sudharshan1919_0-1684302239360.png

After drill through to one specific one, my drill through page looks like below

 

Sudharshan1919_2-1684302786304.png

So, here are 2 Virtual Machines and 2 Virtual Networks, so in the slicer above, it should the respective counts of the categories. The count must change dynamically, when ever drill through is done and all the count of those respective resources must come beside that.

 

Thanks

Sudharshan.

Anonymous
Not applicable

HI @Sudharshan1919,

Current power bi does not support to create dynamic calculated column/tables based on filter selections. They are work on different level and you can't use the child level to affect its parent.

Notice: the data level of power bi(from parent to child level)

Database(external) -> query table(query, custom function, query parameters) -> data model table(table, calculate column/table) -> data view with virtual tables(measure, visual, filter, slicer)

Regards,

Xiaoxin Sheng

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

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

November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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.