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
Anonymous
Not applicable

Using Year to date with a slicer

Hi,

 

Using a slicer i am able to show sales for a specific week. However, i also want to show Year to Date sales from start of year to the selected week in the slicer ALSO. How do i do BOTH in a multi-row card? 

 

Thanks,

3 REPLIES 3

Hi @Anonymous,

 

do you use a date table?

Do you know the YTD Quick Measure?

 

If you provide a sample PBIX I could show you how to do it.

 

Did I answer your question?
Please mark my post as solution, this will also help others.
Please give Kudos for support.

Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast


Anonymous
Not applicable

@mwegener  Thanks for your reply. Sample of the table below. I've used a slicer to select week 5 to show week 5 sales. But i want to show YTD to Week 5 too. I'm aware of the YTD intelligence function but doesnt the slicer filter to week 5 and therefore it wont show YTD to week 5?

 

YearPeriod YearQtr Year Week Period Qtr StartOfPeriod StartOfQtr Start of Year
2018191 2018191 201819 1 1 1 26/03/2018 26/03/2018 26/03/2018
2018191 2018191 201819 2 1 1 26/03/2018 26/03/2018 26/03/2018
2018191 2018191 201819 3 1 1 26/03/2018 26/03/2018 26/03/2018
2018191 2018191 201819 4 1 1 26/03/2018 26/03/2018 26/03/2018
2018191 2018191 201819 5 1 1 26/03/2018 26/03/2018 26/03/2018
2018192 2018191 201819 6 2 1 30/04/2018 26/03/2018 26/03/2018
2018192 2018191 201819 7 2 1 30/04/2018 26/03/2018 26/03/2018

 

 

Hi @Anonymous ,

 

I hope this helps you.

 

Did I answer your question?
Please mark my post as solution, this will also help others.
Please give Kudos for support.

Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast


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.