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 August 31st. Request your voucher.
I'm trying to create a waterfall graph that tracks client wins/losses over a time period selected by a date slider. I'm using a switch/selected value combo function in order to achieve this but I can't get it to work properly.
Here's the switch function:
Here's one of the measures that the switch function is bringing in (all are the same as this, just with different filters):
My data is unpivoted so date is in one column and active/inactive is in another column. 1 means the client is active and 0 means the client is not active.
Here are my sort and category tables:
Here's what I'm inputting into the waterfall boxes:
Here's the end result:
What am I doing wrong here?
User | Count |
---|---|
26 | |
12 | |
8 | |
8 | |
5 |
User | Count |
---|---|
30 | |
14 | |
12 | |
12 | |
7 |