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 III
Super User III

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 III
Super User III

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

Helper I
Helper I

Re: Filter graph base on 2 selection

Tank you alot work perfect for my needs 😃  5 stars 

Helpful resources

Announcements
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!.

Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Tech Marathon

Maratón de Soluciones de Negocio Microsoft

Una semana de contenido con +100 sesiones educativas, consultorios, +10 workshops Premium, Hackaton, EXPO, Networking Hall y mucho más!

Top Solution Authors
Top Kudoed Authors