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
Upcoming Events

Upcoming Events

Wondering what events you could join or have an event to promote yourself? Check out our Upcoming Events.

August Community Highlights

Check out a full recap of the month!

Upcoming Events

Community Summit North America – Join Online!

Join this community-driven Power Platform digital event for unbiased support and problem-solving.

Experience what’s next for Power BI

Join us for an in-depth look at the new Power BI features and capabilities at the free Microsoft Business Applications Launch Event.

Community Blog

Community Blog

Visit our Community Blog for articles, guides, and information created by fellow community members.

Top Solution Authors