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'm trying to figure out how to create a filter which will exclude rows in my report if values in two separate columns are equal.
For example:
KEY VALA VALB
123 5 6
456 5 5
I want the filter to exclude key 456 from report.
Any help would be greatly appreciated.
Solved! Go to Solution.
hi, @Anonymous
there is a simple way that create a calculate column to judge if two values of the current row are the same
judge = IF(Table1[VALA]=Table1[VALB],"yes","no")
then drag the field into report level filter to filter value is "no"
Best Regards,
Lin
hi, @Anonymous
there is a simple way that create a calculate column to judge if two values of the current row are the same
judge = IF(Table1[VALA]=Table1[VALB],"yes","no")
then drag the field into report level filter to filter value is "no"
Best Regards,
Lin
Thanks! That worked great! I used TRUE and FALSE instead of "yes" and "no"
Eric
Create another column:
FILTER = IF(VALA = VALB,"Yes","No")
Then you can filter according to the value of the new column
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 | |
94 | |
80 | |
67 | |
59 |
User | Count |
---|---|
150 | |
119 | |
104 | |
87 | |
67 |