cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
rajendraongole1 Regular Visitor
Regular Visitor

Visual Level filter - Top condition is working for only one column

Hi Power Bi User,

 

I am trying to apply a filter conditions at visual level filter with top 5 records of my customer and top 5 countries..

 

i am not able to place two dimension filters with top N results. can you please suggest is there any way to get the filtering?

 

 

Please suggest.

 

top N.png

 

Above is the error i am facing. 

 

Regards,

Rajendra

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support Team
Community Support Team

Re: Visual Level filter - Top condition is working for only one column

Hi @rajendraongole1 

 

 

If you’d like to filter the TOP 5 of customer and TOP 5 countries by the same argument (i.e. [Sales]),  you can use the TOP N filter once, and you’ve got the 2 dimensions results.

12.png

If you’d like to filter TOP 5 of customer by sales, and TOP 5 countries by volume, it’s not accessible to apply them in same visual coz the logic is mixed up. You can use the measure below, and filter the measure without blank:

Measure 3 = IF(RANKX(ALL(Table1),CALCULATE(SUM(Table1[Sales])))>5||RANKX(ALL(Table1),CALCULATE(SUM(Table1[Volume])))>5,BLANK(),1)

13.png

Best regards,

Dina Ye

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

Re: Visual Level filter - Top condition is working for only one column

Hi @rajendraongole1 

 

 

If you’d like to filter the TOP 5 of customer and TOP 5 countries by the same argument (i.e. [Sales]),  you can use the TOP N filter once, and you’ve got the 2 dimensions results.

12.png

If you’d like to filter TOP 5 of customer by sales, and TOP 5 countries by volume, it’s not accessible to apply them in same visual coz the logic is mixed up. You can use the measure below, and filter the measure without blank:

Measure 3 = IF(RANKX(ALL(Table1),CALCULATE(SUM(Table1[Sales])))>5||RANKX(ALL(Table1),CALCULATE(SUM(Table1[Volume])))>5,BLANK(),1)

13.png

Best regards,

Dina Ye

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

Re: Visual Level filter - Top condition is working for only one column

Hi @rajendraongole1 ,

 

If my above post helps, could you please consider Accept it as the solution to help the other members find it more quickly. thanks!

 

Best regards,

Dina Ye

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

Helpful resources

Announcements
Community Highlights

Community Highlights

Find out what's new in the Power BI Community!

Summit North America

Power Platform Summit North America

Register by September 5 to save $200

Virtual Launch Event

Microsoft Business Applications Virtual Launch Event

Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

MBAS Gallery

Watch Sessions On Demand!

Continue your learning in our online communities.

Users Online
Currently online: 124 members 1,866 guests
Please welcome our newest community members: