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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
naresh_nsn
Frequent Visitor

Dynamic constant line based on different values with slicer

Hello Experts,

 

Tried to find many ways but nothing helped yet, would need help on dynamic contatnt line based on values of a column and a slicer selected.

Snap attached, the requirement is , 


 Slicer/Filter - Domain Column
Stack Chart of - Metric column, Provided we already have a stack chart prepared, just need to add the dynamic constant line for showing the targets
Contant line - Target 2021 column

 

For example, If i select Domain= A, for Test Auomation stcack chart the Target line should show as 23 and for Car Automation stcack chart the Target line should show as 45

naresh_nsn_0-1632125078241.png

Thanks in advance

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@naresh_nsn , Create a measure and use that in Analytic pane in visualization -> contact line -> Fx and choose measures

Test Automation = calculate(sum(Table[Value]), filter(Table, Table[Metric]=" Test Automation"))

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@naresh_nsn , Create a measure and use that in Analytic pane in visualization -> contact line -> Fx and choose measures

Test Automation = calculate(sum(Table[Value]), filter(Table, Table[Metric]=" Test Automation"))

Thanks @amitchandak , with some small changes it's working now.

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.