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 September 15. Request your voucher.
@cenk_yildiran In addition to the answer on Stackoverflow, you could do this:
Measure =
VAR __Table = DISTINCT(SELECTCOLUMNS('Table',"__GroupNo",[group_no],"__revenue",[revenue]))
VAR __Result = SUMX(__Table,[__revenue])
RETURN
__Result
@cenk_yildiran In addition to the answer on Stackoverflow, you could do this:
Measure =
VAR __Table = DISTINCT(SELECTCOLUMNS('Table',"__GroupNo",[group_no],"__revenue",[revenue]))
VAR __Result = SUMX(__Table,[__revenue])
RETURN
__Result
User | Count |
---|---|
15 | |
12 | |
8 | |
7 | |
7 |
User | Count |
---|---|
24 | |
20 | |
12 | |
10 | |
7 |