Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Dynamic Measure

Hi Community..!

 

I have measure called as HCPs Reached, HCPs Engaged, Calls and Call Attainement

The requirement here is like this : I am going to use Line chart and i want to change x-axis and y-axis dynamically.

Above all measures i should select to the x-axis or y-axis vise varsa.

The user want to compare one measure to another measure 

Eg: User can select HCPs Reached at x-axis and HCPs Engaged at Y-axis or vise varsa.

also User can select Calls at x-axis and Call Attainment at Y-axis or vise varsa.

Does this possible?

Can we pull measures to the x-axis?

I was tryiing but did not work using Field Parameter.

4 REPLIES 4
Anonymous
Not applicable

Hi @Idrissshatila 
Could you please create in pbix file send it to me?
Because i have tried and did not work.

 

Thanks in advance..!

Hello @Anonymous ,

 

you're right it doesn't work to add a measure to x axis in the column chart, so if you want to compare two measures you can use the Stacked bar chart as the following


Idrissshatila_0-1732792480375.png

 



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




Kedar_Pande
Super User
Super User

@Anonymous 

If field parameter doesnt meet your requiement,

  1. Create a Calculation Group:
  2. Add calculation items for HCPs Reached, HCPs Engaged, Calls, and Call Attainment.
  3. Add the calculation group to the X-axis or Y-axis of the chart. Users can select measures via slicers bound to the calculation group.

💌 If this helped, a Kudos 👍 or Solution mark ✔️ would be great! 🎉
Cheers,
Kedar
Connect on LinkedIn

Idrissshatila
Super User
Super User

Hello @Anonymous ,

 

why it didn't work with field parameter, create 2 field parameters haveing both the same measures and assign each paramters to an axis, this would work like this.

 

try it and let me know.



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.