March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hi,
Please help figureout how to approach measure which will return distincted summary for the column values
Example
USR_ID | TRNX | Events |
100 | 9001 | 6 |
100 | 9002 | 6 |
100 | 9003 | 6 |
100 | 9004 | 6 |
102 | 8001 | 1 |
102 | 8002 | 1 |
Measure should return distinct sum of Event column grouped by USR_ID
mean expected result of measure = 6+1 = 7
Solved! Go to Solution.
@mrslyfox911 , Try a measure like
Sumx(Distinct(Table[Events]), [Events])
or
sumx(summarize(Table, Table[User_id], Table[Events]) , [Events])
Hello @Mahesh0016
unfortunnatelly solluction not applicable for me, because I'm not looking for the summary of min and max values. target was to sum distinct value per sub category
@mrslyfox911 , Try a measure like
Sumx(Distinct(Table[Events]), [Events])
or
sumx(summarize(Table, Table[User_id], Table[Events]) , [Events])
thank you @amitchandak
that one working as expected
sumx(summarize(Table, Table[User_id], Table[Events]) , [Events])
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
128 | |
90 | |
75 | |
56 | |
53 |
User | Count |
---|---|
200 | |
104 | |
101 | |
67 | |
55 |