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
Prudhviraj
Frequent Visitor

Create Level Based Measures in Which should not change based on Filter

Hi Guys,

 

Can any one help me out, how can I create a level based measures in Power BI Desktop.

 

User will select a detail level column value will come from drill through filter. I have to show detail level count for that selected value and also show the count for other levels.

Capture.PNG

 

 

Quick response would be really appreciable.

 

Thanks,

Prudviraj

 

 

1 ACCEPTED SOLUTION
v-jiascu-msft
Microsoft Employee
Microsoft Employee

Hi @Prudhviraj,

 

The detailed level count could be like this:

detailed_level = count('table'[Dealer])

The all the levels could be like this:

all_level =
CALCULATE ( COUNT ( 'table'[Dealer] ), ALL ( 'table'[Dealer] ) )

Or you can post the expected results.

 

Best Regards,

Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-jiascu-msft
Microsoft Employee
Microsoft Employee

Hi @Prudhviraj,

 

Could you please mark the proper answer as solution?

 

Best Regards!
Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
v-jiascu-msft
Microsoft Employee
Microsoft Employee

Hi @Prudhviraj,

 

The detailed level count could be like this:

detailed_level = count('table'[Dealer])

The all the levels could be like this:

all_level =
CALCULATE ( COUNT ( 'table'[Dealer] ), ALL ( 'table'[Dealer] ) )

Or you can post the expected results.

 

Best Regards,

Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.