The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
I have the following table
Type revenue cost
A 5 15
B 20 3
C 3 54
D 35 85
E 35 68
I would like to summarize the cost when the type =a or c or E so the final value in this case 137
Solved! Go to Solution.
Well, if your underlying data table looks like what you posted, then this should work:
Measure = SUMX(FILTER('Table',[Type] = "A" || [Type] = "C" || [Type] = "E"),[Cost])
sorry for my late answers. thank you for your help. its working
Well, if your underlying data table looks like what you posted, then this should work:
Measure = SUMX(FILTER('Table',[Type] = "A" || [Type] = "C" || [Type] = "E"),[Cost])
User | Count |
---|---|
15 | |
8 | |
6 | |
6 | |
6 |
User | Count |
---|---|
24 | |
14 | |
13 | |
8 | |
8 |