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 All,
Referring to this video https://www.youtube.com/watch?v=nJ7LzwiSwnw,
My requirement is to show sum of amount after rows are combined .
input
Pedro | China | 63 |
Pedro | India | 268 |
Pedro | US | 239 |
output,
Pedro China,India,US 570
i am able to combine the rows after watching this link https://www.youtube.com/watch?v=nJ7LzwiSwnw,
but not sure how to aggregate the amount to get 570 as total amount
Can some suggest how to reach to the output
Hi All,
My requirement is to show sum of amount after rows are combined .
input
Pedro | China | 63 |
Pedro | India | 268 |
Pedro | US | 239 |
output,
Pedro China,India,US 570
Please suggest the ways !!
Hi @Kartic21,
You can use below measure formulas to ignore filter effect on column 2 and Concatenate text:
Total Amount based on Column1= CALCULATE ( SUM ( Table[Column3] ), ALLEXCEPT ( Table, Table[Column1] ) )
Concatenate Text =
CALCULATE (
CONCATENATEX ( VALUES ( Table[Column2] ), [Column2], "," ),
VALUES ( Table[Column1] )
)
Regards,
Xiaoxin Sheng
USe
Calculate (sum(Column3), ALL(Table Name))
Thanks for reply though This is not working
User | Count |
---|---|
65 | |
62 | |
60 | |
53 | |
28 |
User | Count |
---|---|
181 | |
82 | |
67 | |
47 | |
44 |