I was searching for a DAX to return true if ID column value of Table 2 is present multiple times in different Group(Table 1).
Table 1 :
Table 2 :
I would like to create a "Check" DAX column to return ID value present in Table 1 multiple time for different Group
Solved! Go to Solution.
Hi @9192gks ,
If you want to create a new table, try:
table = SUMMARIZE(Table1,Table1[ID],"ifmultiple",IF(CALCULATE(DISTINCTCOUNT(Table1[Group]),ALLEXCEPT(Table1,Table1[ID]))>1,"true","false"))
Best Regards,
Jay
Hi @9192gks ,
If you want to create a new table, try:
table = SUMMARIZE(Table1,Table1[ID],"ifmultiple",IF(CALCULATE(DISTINCTCOUNT(Table1[Group]),ALLEXCEPT(Table1,Table1[ID]))>1,"true","false"))
Best Regards,
Jay
Hi @9192gks
Try this:-
Column =
CALCULATE (
COUNTROWS ( __Table1 ),
FILTER ( __Table1, __table1[ID] = EARLIER ( ___table2[ID] ) )
) > 1
Output:-
Thanks,
Samarth
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin
Thanks for Replying, I was actually looking for grouping. As i have to check if the ID is present in different groups.
Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.
Put your data visualization and design skills to the test! This exciting challenge is happening now through May 31st!
User | Count |
---|---|
347 | |
98 | |
62 | |
49 | |
49 |
User | Count |
---|---|
333 | |
122 | |
79 | |
68 | |
62 |