cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
Microsoft
Microsoft

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
Microsoft
Microsoft

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

Microsoft
Microsoft

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
secondImage

Congratulations!

We are excited to announce the Power BI Super Users!

Wave Release 2

Check out the updates in Power BI.

Overview of Power BI 2020 release wave 2!

Get Ready for Power BI Dev Camp

Get Ready for Power BI Dev Camp

Mark your calendars and join us for our next Power BI Dev Camp!.

secondImage

The largest Power BI virtual conference

100+ sessions, 100+ speakers, Product managers, MVPs, and experts. All about Power BI. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors