Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I have two tables joined on Doc_no
Table 1
Doc_no
Description
Serial_Number (text string)
Table 2
Doc_no
Description
PN_Serial_Number (text string)
I want to find out when Table 1 Serial_Number does not match Table 2 PN_Serial_number. I assume I need to create a measure with an IF statement, Y if they match and N if they don't; put that measure in the "Filters" section to do the filter. I just can't make the measure work.
Solved! Go to Solution.
Hi @Anonymous,
A measure can't be used in Visual/Page/Report level filters pane, only columns can be placed.
In your scenario, assume the relationship between the Table1 and Table2 is 1:n, you can create a calculated column in Table2 like below below:
Condition = IF('Table2'[PN_Serial_Number]=RELATED(Table1[Serial_Number]),"Y","N")
Then drag this column to the Visual Level Filters pane, select "N" value.
Best Regards,
Qiuyun Yu
Hi @Anonymous,
A measure can't be used in Visual/Page/Report level filters pane, only columns can be placed.
In your scenario, assume the relationship between the Table1 and Table2 is 1:n, you can create a calculated column in Table2 like below below:
Condition = IF('Table2'[PN_Serial_Number]=RELATED(Table1[Serial_Number]),"Y","N")
Then drag this column to the Visual Level Filters pane, select "N" value.
Best Regards,
Qiuyun Yu
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
110 | |
95 | |
76 | |
65 | |
51 |
User | Count |
---|---|
146 | |
109 | |
106 | |
88 | |
61 |