Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Averin7777
New Member

Syntax/Function to use crossfilter

Hello, 

I need to find out, which DAX syntax and function I need to use in order tu use two connected filters. Example, When I use one filter it will influence second filter, like filter in Business - default, and in Other filter it shows me countries which are default f.i. 2 from 10, and when in Business - Other, in next shows me the rest 8?? 

Thanks a lot for help!!!

4 REPLIES 4
Averin7777
New Member

I have already created new columns for retailer like data for Amazon 1P are Default, and rest 2P and others are Rest

Averin7777
New Member

trying to use this syntax

IF( SELECTEDVALUE(attr_product[RETAILER FILTER], "Rest"), and here add something like ...than fct[RETAILER] shows all options but without Amazon 1P because is default. but the syntax showing me error. 
TomasAndersson
Solution Sage
Solution Sage

Hi!

It might be easier if you can share some if your data so we can help more specifically.

 

One possible way would be to create a new column to support this. You could for example add "Business Type" to your table with countries, and then create a relationship between the tables. For example

 

CountryBusiness Type (new)
AngolaOther
BermudaOther
CameroonOther
DenmarkDefault
EnglandOther
FranceOther
GhanaOther
HondurasOther
IranOther
JordanDefault

 

This way, the "country table" would be filtered based on Business Type, allowing you to apply further filters only with countries of a specific type. 

 

hello, thank you sure, I have one filter here:

Averin7777_0-1656315168907.png

and second one like this 

Averin7777_1-1656315207543.png

And I would like to set up, If I click in first Default, second filter shows me only Amazon 1P as an option. 

And when I click Rest, it shows other options to choose but wtihout Amazon 1P. 

I have in data, table that contains Columns Like Amazon 1P is default, and rest are Rest. But I do not know how to connect these two filters in order to cooperate as I describe

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.