cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
smpowerbi
Frequent Visitor

HOW TO RETURN/CALCULATE ROWS/COUNT BASED ON INVERSE SLICERS

HI ALL I HAVE THE REQUIREMENT TO CALCULATE PERCENTAGE BASED ON FILTERS CALLED PLAN 'YES', AND REMAINIG DATA CALLED PLAN 'NO' THE SCENARIO AND SAMPLE DATA PLACED IN THE FOLLOWING LINK. HELP ME TO SORT OUT THIS.

 

https://filebin.net/kywxo2d7hrfjeuxx

THANKS AND REGARDS

SENTHIL

1 ACCEPTED SOLUTION

Accepted Solutions
prmpn Helper I
Helper I

Re: HOW TO RETURN/CALCULATE ROWS/COUNT BASED ON INVERSE SLICERS

Hi @smpowerbi ,

Create a measure as below 

WeekFilter = Maxa(PlanTable[weekname])

Use this measure in a "Details" table visual in your report. 

This will return Blank for not macthing filtered values and 0 for matched values. Use Visual Level filter for the details to get the inverse selected data in table.

 

Thanks,

PraveenM

View solution in original post

2 REPLIES 2
Super User IV
Super User IV

Re: HOW TO RETURN/CALCULATE ROWS/COUNT BASED ON INVERSE SLICERS

https://community.powerbi.com/t5/Quick-Measures-Gallery/Inverse-Aggregator/m-p/342266#M91

 

https://community.powerbi.com/t5/Quick-Measures-Gallery/Inverse-Selector/m-p/648290#M325


---------------------------------------

Not the Power BI thought police...

I have NEW book! 
DAX Cookbook from Packt
Over 120 DAX Recipes!
Did I answer your question? Mark my post as a solution!

Proud to be a Datanaut!

prmpn Helper I
Helper I

Re: HOW TO RETURN/CALCULATE ROWS/COUNT BASED ON INVERSE SLICERS

Hi @smpowerbi ,

Create a measure as below 

WeekFilter = Maxa(PlanTable[weekname])

Use this measure in a "Details" table visual in your report. 

This will return Blank for not macthing filtered values and 0 for matched values. Use Visual Level filter for the details to get the inverse selected data in table.

 

Thanks,

PraveenM

View solution in original post

Helpful resources

Announcements
New Ranks Launched March 24th!

New Ranks Launched March 24th!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power BI Community!

‘Better Together’ Contest Finalists Announced!

‘Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

Arun 'Triple A' Event Video, Q&A, and Slides

Arun 'Triple A' Event Video, Q&A, and Slides

Missed the Arun 'Triple A' event or want to revisit it? We've got you covered! Check out the video, Q&A, and slides now.

Community Summit North America

Community Summit North America

Innovate, Collaborate, Grow. The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors