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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

How to get a straight line in line and stacked column chart using value calculated from Measure??

I have taken emp_id on x-axis, column values as product_count (no. of products sold by emp_id) and for filtering I have taken (date slicer) and (stores).

Based on filter (date slicer and stores), I am getting avg_productivity dynamically per emp_id by using "New Measure".

 

Measure I am calculating using formula:

avg_productivity = SUM(table_name[product_count]) / DISTINCTCOUNT(table_name[emp_id])

 

I want to plot avg_productivity calculated above in a line(I am getting different values based on emp_id), but unable to do so, need quick help please.

 

Thank you in advance.

2 REPLIES 2
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @Anonymous,

 

Have you solved your problem?

 

If you have solved, please always accept the replies making sense as solution to your question so that people who may have the same question can get the solution directly.

 

If you still need help, please share your desired output so that we could help further on it. 

 

Best Regards,

Cherry

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @Anonymous,

 

I have a little confused about your scenario.

 

Do you want to get the line like below?

 

Capture.PNG

 

If it is convenient, could you share the screenshot which could reproduce your scenario and share the output you desired so that I can understsand your requirement better.

 

Best  Regards,

Cherry

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

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.

Top Solution Authors