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.
Hi,
I am using a formula to create the SUM of a measure:
Solved! Go to Solution.
Hi @Anonymous ,
You could try to use UNION() function
SUMX(UNION(VALUES('Table'[Column1]),VALUES('Table'[Column2])),[measure])
Best Regards,
Jay
Hi @Anonymous ,
You could try to use UNION() function
SUMX(UNION(VALUES('Table'[Column1]),VALUES('Table'[Column2])),[measure])
Best Regards,
Jay
@Anonymous , You can use summarize when you have more than one column
IF(HASONEVALUE([servername]), [Underutilisation], SUMX(Summarize(Table,[servername],Table[Groupbytwo], "_1", [Underutilisation]),[_1]))
He clearly asked how to use SUMX and VALUES in the same measure.
Hi,
The two columns are from different and unrelated tables
User | Count |
---|---|
56 | |
54 | |
53 | |
47 | |
30 |
User | Count |
---|---|
173 | |
89 | |
70 | |
46 | |
45 |