The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hi, team. I need to create this measure where the expression below is based on values in table T1. T1 is related to T2 and T3 many-to-one with both.
The problem is that I need to filter based on two different columns, one in each of the related tables, T2 and T3, BUT I need to OR the two filter conditions. Is there a way to do that?
Hi @yasbos ,
In order to better understand your demands and give the right solution, could you please provide some more specific information? such as your desensitized example data and a screenshot of your desired results?
Thanks for your efforts & time in advance.
Best regards,
Community Support Team_Binbin Yu
Hi, @Anonymous. Thanks. I actually got a tip from a coworker of mine to do the below. It worked, but neither I nor my coworker know how it worked LOL.
CALCULATE(expression, FILTER(CROSSJOIN( ALL(T2[column1]), ALL(T3[column2])), T2[column1]= "value" || T3[column2] = "value" ))
User | Count |
---|---|
81 | |
78 | |
37 | |
34 | |
31 |
User | Count |
---|---|
93 | |
81 | |
60 | |
49 | |
49 |