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.
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
User | Count |
---|---|
15 | |
12 | |
8 | |
7 | |
7 |
User | Count |
---|---|
24 | |
20 | |
12 | |
10 | |
7 |