Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
HI all
i want to show two measures in a bar chart.
For example, measure 1 is the number of visitors and measure 2 is the number of paying customers.
If visitors are 1000 and 200 paying customers, i want the range on the y-axis to change with the number of visitors and the number of paying customers to fall within the visitor bar.
See the image below. The graph on the right was created with shapes.
Thanks 🙂
Solved! Go to Solution.
@miinseon - You can use a Stacked Column Chart with two measures. See below:
Visitors Paying = SUMX( 'Table (9)', 'Table (9)'[Visitors] - 'Table (9)'[Paying] )
and
_Paying = SUM( 'Table (9)'[Paying] )
@miinseon - Sorry I realised I placed the bars the wrong way round, in my screenshot it is just a case of swapping the two measures around on the axis.
As the DAX I have provided has works, please could you mark this as the solution? It makes it easier for people to find, and it will take it out of the "Unresolved topics" bin!
Thanks,
@miinseon - You can use a Stacked Column Chart with two measures. See below:
Visitors Paying = SUMX( 'Table (9)', 'Table (9)'[Visitors] - 'Table (9)'[Paying] )
and
_Paying = SUM( 'Table (9)'[Paying] )
The value is not what I want.
But I solved it by applying your suggestion
I created and used (visitor - paying).
Thanks 🙂
If this works for you, please accept it as the solution!
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 8 | |
| 8 | |
| 6 | |
| 5 | |
| 4 |
| User | Count |
|---|---|
| 25 | |
| 10 | |
| 10 | |
| 8 | |
| 8 |