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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
atul9063
Helper III
Helper III

Plot Dynamics lines on Line Chart from two different Slicers

Hi,

 

I m new in PowerBI. As per below dataset,I want to show (Active Users ,Idle Users) in slicer A  and (Active YoY ,Idle YoY) in slicer B.

a) When user select Active Users From Slicer A and Active YoY from slicer B then both values should display in graph.

b) When user select  Active User,Idle User from Slicer A and Active YoY ,Idle YoY from slicer B the all four values should display in graph.

image.png

 

PFB dataset

 

 

MetricDateValueCompare
Active Users1/1/201954058241Daily
Active Users1/2/201910232067Daily
Active Users1/3/20193806905Daily
Active Users1/4/201940019269Daily
Active Users1/5/201937131878Daily
Active Users1/6/201910539136Daily
Active Users1/7/20197617722Daily
Active Users1/8/201918975020Daily
Active YoY1/1/201956421953YoY
Active YoY1/2/201914004481YoY
Active YoY1/3/20194058379YoY
Active YoY1/4/201942417472YoY
Active YoY1/5/201937717915YoY
Active YoY1/6/201918094586YoY
Active YoY1/7/20198010609YoY
Active YoY1/8/201919623329YoY
Idle Users1/1/201954056241Daily
Idle Users1/2/201910230067Daily
Idle Users1/3/20193804905Daily
Idle Users1/4/201940017269Daily
Idle Users1/5/201937129878Daily
Idle Users1/6/201910537136Daily
Idle Users1/7/20197615722Daily
Idle Users1/8/201918973020Daily
Idle YoY1/1/201956419953YoY
Idle YoY1/2/201914002481YoY
Idle YoY1/3/20194056379YoY
Idle YoY1/4/201942415472YoY
Idle YoY1/5/201937715915YoY
Idle YoY1/6/201918092586YoY
Idle YoY1/7/20198008609YoY
Idle YoY1/8/201919621329YoY
1 ACCEPTED SOLUTION
v-jiascu-msft
Employee
Employee

Hi @atul9063,

 

 

Could you please mark the proper answers as solutions?

 

 

 

Best Regards,

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

View solution in original post

2 REPLIES 2
v-jiascu-msft
Employee
Employee

Hi @atul9063,

 

 

Could you please mark the proper answers as solutions?

 

 

 

Best Regards,

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
v-jiascu-msft
Employee
Employee

Hi @atul9063,

 

Please download the demo from the attachment. I'm afraid it's hard to split the column into two slicers. How about using a custom visual?

1. Add a column.

Slicer =
IF (
    [Metric] IN { "Active Users", "Idle Users" },
    "A",
    IF ( [Metric] IN { "Active YoY", "Idle YoY" }, "B", "Error" )
)

2. Create a visual.

Plot-Dynamics-lines-on-Line-Chart-from-two-different-Slicers

 

 

Best Regards,

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

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors