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
arimoldi
Resolver II
Resolver II

Line and Stacked Column Chart - Trend Line Percentage

Hi,

 

I want to insert a card/table that shows the percentage of increase/decrease of the trend line in a stacked column chart:

 

arimoldi_0-1699022782232.png

 

in this case there is a difference from 65 to 49, so 16 which means a decrease around 24%.

 

How can I achieve this with a measure in a card or table?

 

Thanks,

Andrea

 

1 ACCEPTED SOLUTION
arimoldi
Resolver II
Resolver II

I got it:

 

(CALCULATE ( COUNT ( Table[Element] ), ALLSELECTED(Table[Element]), MIN(Table[Date])= EE_FINDING_H[REFERENCE_DATE]
) - CALCULATE ( COUNT ( Table[Element] ), ALLSELECTED(Table[Element]), MAX(Table[Date])= Table[Date]
)) / (CALCULATE ( COUNT ( Table[Element] ), ALLSELECTED(Table[Element], MIN(Table[Date])= Table[Date]
) ) * 100
 
Hope it could helps others!
 
Thanks,
Andrea
 

View solution in original post

3 REPLIES 3
arimoldi
Resolver II
Resolver II

I got it:

 

(CALCULATE ( COUNT ( Table[Element] ), ALLSELECTED(Table[Element]), MIN(Table[Date])= EE_FINDING_H[REFERENCE_DATE]
) - CALCULATE ( COUNT ( Table[Element] ), ALLSELECTED(Table[Element]), MAX(Table[Date])= Table[Date]
)) / (CALCULATE ( COUNT ( Table[Element] ), ALLSELECTED(Table[Element], MIN(Table[Date])= Table[Date]
) ) * 100
 
Hope it could helps others!
 
Thanks,
Andrea
 
Ritaf1983
Super User
Super User

Hi @arimoldi  65 and 49 are totals of stacked colums ?

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

yes exactly, there are 2 stacked colums where on the X there are the months and on Y there is the count of elements 

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