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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Tallone
Helper I
Helper I

How to show a multi-day line chart inside a filtered by day page

I have a page of visualizations all linked to a single day via a slicer. I would now like to grab the month out of the date and show a line chart with values for each day.

Basically all the visualizations on the sheet are a combination of grids, bar charts, and tables that reflect data from a single day or totalled to a date.

This new visualisation is intended to show each day from the selected month as a point in a line chart. Actual and target values will each have a line.

Does anyone know how to do this?

1 ACCEPTED SOLUTION

Hi @Tallone,

 

As the original slicer can filter this new slicer, I would suggest you create a calculated column to return month value:

 

Month = Month('Table1'[Date])

 

You can take a look at attached .PBIX file in my original post.

 

Best Regards,
Qiuyun Yu

 

Community Support Team _ Qiuyun Yu
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

4 REPLIES 4
v-qiuyu-msft
Community Support
Community Support

Hi @Tallone,

 

It seems that there is a slicer in the report page to filter all visuals, and you want to get the month value from the selected date in slicer, then return actual and target line values in a line chart for each day in this month, right?

 

In your scenario, you can add another slicer which contains the month value, then you set this new slicer only filter the line chart use Edit Interactions. See:

 

a2.PNG

 

 

Best Regards,
Qiuyun Yu

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

Thank you for your input. I see what you are trying to do. Do I need a separate field in my data for month, or can I program the 2nd slicer to pick the month of the first slicer's date?

Hi @Tallone,

 

As the original slicer can filter this new slicer, I would suggest you create a calculated column to return month value:

 

Month = Month('Table1'[Date])

 

You can take a look at attached .PBIX file in my original post.

 

Best Regards,
Qiuyun Yu

 

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

Thank you!

 

It would be nice if this could be a "hidden slicer" that performed the function but was not seen, but I can work with this as is.

 

Mark

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.