Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi All
I have tried searching for the answer to this but cant seem to find the answer plus im very new to BI so appareciate your patience.
So I needs to add a card visualisation (which i know how to do 🙂 but it needs to calculate the sum of the 3 columns;
"HAccountTotal" (When "Hire Status" = "Unpaid") + "RAccountTotal" (When "RepairStatus" = "Unpaid") + "RSTotal" (When "RandSStatus" = "Unpaid")
Hope this makes sense. Thanks
Solved! Go to Solution.
Hi @BlueNoze ,
Please try this as a measure:
YourMeasure =
calculate(sum(TableName[HAccountTotal]),TableName[Hire Status] = "Unpaid")
+ calculate(sum(TableName[RAccountTotal]),TableName[RepairStatus] = "Unpaid")
+ calculate(sum(TableName[RSTotal]),TableName[RandSStatus]= "Unpaid")
Respectfully,
Zoe Douglas (DataZoe)
Follow me on LinkedIn at https://www.linkedin.com/in/zoedouglas-data
See my reports and blog at https://www.datazoepowerbi.com/
@BlueNoze , Try like
sumx(Table, switch(true(),Table[Hire Status] = "Unpaid",Table[HAccountTotal],
Table[RepairStatus] = "Unpaid",Table[RAccountTotal],
Table[RandSStatus]= "Unpaid" ,Table[RSTotal],blank()))
Hi @BlueNoze ,
Please try this as a measure:
YourMeasure =
calculate(sum(TableName[HAccountTotal]),TableName[Hire Status] = "Unpaid")
+ calculate(sum(TableName[RAccountTotal]),TableName[RepairStatus] = "Unpaid")
+ calculate(sum(TableName[RSTotal]),TableName[RandSStatus]= "Unpaid")
Respectfully,
Zoe Douglas (DataZoe)
Follow me on LinkedIn at https://www.linkedin.com/in/zoedouglas-data
See my reports and blog at https://www.datazoepowerbi.com/
Worked Perfectly Thanks!
User | Count |
---|---|
77 | |
76 | |
43 | |
30 | |
24 |
User | Count |
---|---|
97 | |
91 | |
52 | |
47 | |
46 |