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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! 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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.