The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event! Join us in Stockholm, Sweden from September 24-27, 2024.
2-for-1 sale on June 20 only!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hello, I have to create a chart like the one on in the picture below where on the Y axis I need to see bidPriceAmount and on the X axis the cumulativeBidQtyByPriceAmount.
The cumulativeBidQtyByPriceAmount is accumulated bidQty per bidPriceAmount (first is highest bidPriceAmount where the cumulativeBidQtyByPriceAmount is equal as the bidQty).
I managed to create the below. I created the measure for running totals which is working nicely with the slicer for Delivery Day.
The chart created is nice but I need to switch the axis somehow because I need to show the cumulativeBidQtyByPriceAmount in a stepped line chart on the X axis (and the BidPriceAmount on Y axis) which PowerBI won't let me to do because it is a measure.
Is there perhaps a way to switch the axis or do anything else to get to the intended result as shown in the first picture?
Any help is appreciated. Thank you very much
Hi @puchrova ,
Measure cannot be used as x-axis.
DAX measure are based on row context so any given value from slicers, filters, interactions with other visualizations and so on can influence your result.
Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@puchrova , for that you have to use scatter visual or bucket the X-axis measure
https://www.daxpatterns.com/dynamic-segmentation/
https://www.daxpatterns.com/static-segmentation/
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the June 2024 Power BI update to learn about new features.
User | Count |
---|---|
104 | |
97 | |
80 | |
62 | |
57 |
User | Count |
---|---|
264 | |
120 | |
115 | |
83 | |
70 |