Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hey!
I'm trying to update a rewards program at work where we want to be able to both see if (yes/no) a customer deserves a reward, but also group the level of reward each reacieve in form a points.
I've managed to establish Yes/ No by using = IF (Purchase >= 92 , "Yes", "No")
E.g. if Purchase is over 92 then Yes they should recieve an award, otherwise no
(92% represents the % the limit they need to hi)
I've similarly been able to use the If function to group the points = IF(Purchase = 92, "100",
Solved! Go to Solution.
@Pandetbaby why don't you try
points = IF(Purchase = 92, 100,
@Pandetbaby why don't you try
points = IF(Purchase = 92, 100,
Hey
@Anonymous
Am I supposed to write out the IF formula first and then
OR
SWITCH( TRUE () etc ?
No ... just use this. Same thing can be done with switch in case you have multiple conditions
points = IF(Purchase = 92, 100,
Hey @Anonymous ,
I have successfuly done that, however my issue is that I cant add the points together using this formula it appears.
I get
Month 1 = 100
Month 2 = 300
Month 3 = 100
But I can't make any of the visuals sum them up to column/row totals
Create a measure
Measure = sum('table'[Points])
Or else share some sample data along with expected result
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 19 | |
| 13 | |
| 9 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 30 | |
| 26 | |
| 17 | |
| 11 | |
| 10 |