Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and a 50 percent discount on exams.
Get startedEarn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hi ,
Need help with DAX measure and scnario as follows-
From_ID | Conversation_ID | CID | Concat(From_ID,Conversation_ID) |
San | CON1 | 1 | San_CON1 |
San | CON1 | 2 | San_CON1 |
San | CON1 | 3 | San_CON1 |
Sea | CON2 | 1 | Sea_CON2 |
Sea | CON3 | 1 | Sea_CON3 |
Sea | CON4 | 1 | Sea_CON4 |
Sub | CON5 | 1 | Sub_CON5 |
Sub | CON6 | 1 | Sub_CON6 |
Ram | CON66 | 1 | Ram_CON66 |
Ran | CON666 | 1 | Ran_CON666 |
expected Out put
Unique Records Count - 3 (distinct count of From_ID where distinct count(Concat) = 1)
Duplicate Recrd count - 2 (distinct count of From_ID where distinct count(Concat) > 1)
Please help with DAX query
Solved! Go to Solution.
@Anonymous , Try measures like
countx(filter(summarize(Table, table[From_ID], "_1", distinctcount(Table[Concat])), [_1] =1),[From_ID])
countx(filter(summarize(Table, table[From_ID], "_1", distinctcount(Table[Concat])), [_1] >1),[From_ID])
@Anonymous , Try measures like
countx(filter(summarize(Table, table[From_ID], "_1", distinctcount(Table[Concat])), [_1] =1),[From_ID])
countx(filter(summarize(Table, table[From_ID], "_1", distinctcount(Table[Concat])), [_1] >1),[From_ID])
Thanks a lot Amit the measure worked perfectly and one great learning on usage of summary function in COUNTX.
User | Count |
---|---|
91 | |
73 | |
68 | |
63 | |
55 |
User | Count |
---|---|
96 | |
89 | |
73 | |
61 | |
58 |