cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper I
Helper I

Filter graph base on 2 selection

Hello


I have a table with Itens, in this case is (mycat)
Please help me to find out a way to calculate my MyfiltCol base on my max 2 selections exemple below

Table:

table.PNG
Filter and formula 

calculate.PNG

 

 

 

 

 

 

 

 

 

 

 

 

 

 


Problem!! if i select 3 values (A , Band C ) should change to blank but is not working =(
Capture2.PNG

Please can some one help me ?

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User V
Super User V

Re: Filter graph base on 2 selection

Hi @Bogas 

 

Try something like.

 

Measure = 
IF(
    COUNTROWS( ALLSELECTED( 'Table'[Column1] ) ) <= 2,
    COUNTROWS( 'Table' ),
    "blank"
)

 

 

Best Regards,
Mariusz

If this post helps, then please consider Accepting it as the solution.

Please feel free to connect with me.
LinkedIn

 

View solution in original post

2 REPLIES 2
Highlighted
Super User V
Super User V

Re: Filter graph base on 2 selection

Hi @Bogas 

 

Try something like.

 

Measure = 
IF(
    COUNTROWS( ALLSELECTED( 'Table'[Column1] ) ) <= 2,
    COUNTROWS( 'Table' ),
    "blank"
)

 

 

Best Regards,
Mariusz

If this post helps, then please consider Accepting it as the solution.

Please feel free to connect with me.
LinkedIn

 

View solution in original post

Highlighted
Helper I
Helper I

Re: Filter graph base on 2 selection

Tank you alot work perfect for my needs 😃  5 stars 

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Upcoming Events

Experience what’s next for Power BI

See the latest Power BI innovations, updates, and demos from the Microsoft Business Applications Launch Event.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Get Ready for Power BI Dev Camp

Get Ready for Power BI Dev Camp

Mark your calendars and join us for our next Power BI Dev Camp!.

Top Solution Authors
Top Kudoed Authors