Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I have a list of customers categorized into 3 categories: Existing - New - Leave. Example as below.
I wanna draw a stacked column chart showing fluctuation in the monthly number of customers, where the stacks representing Existing & New customers falls above the x axis while that of the Leave customers falls below it.
My idea is to write a Count measure which returns positive value for Existing/New & negative value for Leave, then put it into the chart. However I am still struggling to write it.
Your help is much appreciated!
Timeline | Customer | Category |
Jan | A | Existing |
Jan | B | New |
Jan | C | Leave |
Feb | A | Existing |
Feb | B | Existing |
Feb | E | New |
@birdietran , you can have two measures like this
calculate(count(Table[customer]), filter(Table, table[Category] ="Leave"))*-1
calculate(count(Table[customer]), filter(Table, table[Category] <>"Leave"))
You can try water fall visual
Thank you!
Unfortunately I gotta stick with stacked columns. Actually I have 2 types of increase: New - New & Existing - New - which have to be displayed in 2 separate increase blocks should waterfall chart is used. But Power BI waterfall chart allows only 1 increase block between periods.
So I guess the above doesnt work for me :< Is there anyway I can create a stacked column chart?
Anyone can help please? 🙂
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
110 | |
94 | |
82 | |
66 | |
58 |
User | Count |
---|---|
151 | |
121 | |
104 | |
87 | |
67 |