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.
So i have a table which has a multi select date filter But i want exculed rows where a movment key matchs and refrence matchs
Solved! Go to Solution.
You could create a column in your dataset called CombinedKay, which is just the Reference and MovementKey combined:
Create a new measure called DuplicateCount. This will get the count over all time for the CombinedKeyCombo. You may have to change ALL to ALLSELECTED if you are using a slicer on the SnapshotDate:
DuplicateCount = CALCULATE(COUNT(Sheet1[CombindedKey]), all(Sheet1[SnapshotDate]))
Then, in your grid on the report, add a visual filter where DuplicateCount = 1:
All records:
Filtered Records:
You could create a column in your dataset called CombinedKay, which is just the Reference and MovementKey combined:
Create a new measure called DuplicateCount. This will get the count over all time for the CombinedKeyCombo. You may have to change ALL to ALLSELECTED if you are using a slicer on the SnapshotDate:
DuplicateCount = CALCULATE(COUNT(Sheet1[CombindedKey]), all(Sheet1[SnapshotDate]))
Then, in your grid on the report, add a visual filter where DuplicateCount = 1:
All records:
Filtered Records:
hi olesojg
My count does not work, i've tried ALLSELECTED and ALL See below
Hi @Sir_night,
Sorry for my misunderstanding previously.
Based on my test, if you use ALL(Table1[SnapshotDate]) instead of All(Table1[SnapshotDate].[Date]) in your formula then the measure should work as expected.
DuplicateCount = CALCULATE(COUNT(Table1[CombinedKey]), ALL(Table1[SnapshotDate]))
Regards
still not working
Hi @Sir_night,
If I understand you correctly, you should be able to firstly use the formula below to create a new measure, then use the measure as a visual level filter([Measure] is 0) to exclude rows where a movement key matches and reference matches.
Measure = IF ( FIRSTNONBLANK ( Table1[Reference], 1 ) = 10014474 && FIRSTNONBLANK ( Table1[MovementKey], 1 ) = "X-VOID-OCCP", 1, 0 )
Regards
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 |
---|---|
108 | |
105 | |
88 | |
74 | |
66 |
User | Count |
---|---|
126 | |
111 | |
100 | |
83 | |
71 |