The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hello all,
im fairly new to this programm so this might be the easiest thing and im just too stupid.
I'm looking basically for the in the subject described formula in dax but just cant seem to get it.
SUM of all [(Count of combination of values in column 1 & 2) >=1 should give me the value 1]
But because the Combination of value in column 1 & column 2 could exist multiple times, this needs to be excluded.
Further: in the end I need 1 result that should be giving me the information: the combination of those values exists exactly 5 times.
Many thanks in advance!
Best regards
Solved! Go to Solution.
This is basically what the dataset looks like:
29.01.2020 | Max Mustermann |
29.01.2020 | Peter Müller |
22.01.2020 | Max Mustermann |
23.01.2020 | Max Mustermann |
24.01.2020 | Max Mustermann |
27.01.2020 | Max Mustermann |
20.01.2020 | Max Mustermann |
21.01.2020 | Max Mustermann |
22.01.2020 | Max Mustermann |
27.01.2020 | Max Mustermann |
In this case I would want to have the output 8.
29.01.2020 | Max Mustermann |
29.01.2020 | Peter Müller |
27.01.2020 | Max Mustermann |
24.01.2020 | Peter Müller |
24.01.2020 | Max Mustermann |
23.01.2020 | Max Mustermann |
22.01.2020 | Max Mustermann |
21.01.2020 | Peter Müller |
21.01.2020 | Max Mustermann |
20.01.2020 | Max Mustermann |
This table on the other hand should give me the output 10.
The dates wont neccessary come from my source in any specific order. (thats why I once have an order and once not)
Awesome this worked, many many thanks!!
Best regards,
Tim
User | Count |
---|---|
10 | |
9 | |
6 | |
6 | |
5 |
User | Count |
---|---|
20 | |
15 | |
14 | |
10 | |
7 |