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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

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
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

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

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.