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 am attempting to create a boolean calculated column "Type" below:
Date | Val1 | Val2 | Abs Value Diff | Type |
1/1/2018 | 5 | 4 | 1 | Mismatch |
1/2/2018 | 5 | 5 | 0 | Match |
1/3/2018 | 5 | 6 | 1 | Mismatch |
My current calculation is below, and it is outputing the following results: What am I doing wrong to get double the amount of rows expected in this case?
Type = IF(sum(ABS Value Diff) > 0,"MisMatch","Match")
auditDate | ABS Value Diff | Type |
1/1/2018 | 0 | Match |
1/1/2018 | 1 | MisMatch |
1/2/2018 | 0 | Match |
1/2/2018 | 0 | MisMatch |
1/3/2018 | 0 | Match |
1/3/2018 | 1 | MisMatch |
Hi @Anonymous,
It seems the [auditDate] and [Type] are in two different data tables. Do they have a proper relationship? Can you share a sample?
Best Regards,
Dale
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 | |
81 | |
66 | |
58 |
User | Count |
---|---|
150 | |
119 | |
104 | |
87 | |
67 |