March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hi,
need help with this, i need to calculate YTD value measure in Table "Unit Sold" but using slicer yearweek,
in this "Unit Sold" table also i create many other measure as well
i have date table reference consist of date and year week column in "Calendar table"
i find the solution using date in slicer with before type slicer like this :
but using yearweek the slicer with before type wont show
any other method how to solved this?
i already try using 2 slicer, 1 year week slicer, 1 date slicer,
i remove all interaction for year week slicer for all visual in page except interaction to date slicer
it work only to date slicer but the date slicer wont filter the entire visual data
I think you can use measure like this:
Measure = TOTALYTD( SUM([Quantity]),'Calendar'[Date] )
I add a chart and date slicer on page
Here is my line chart settings
Best Regards,
Community Support Team _Isabella
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
i must change every measure used in all slide? and add calculate filter
@Kemalnugraha , if you have a calendar table and week year is selected
YTD Sales = CALCULATE(SUM(Sales[Sales Amount]),DATESYTD('Date'[Date],"12/31"))
or like this
YTD= CALCULATE(sum('Table'[Qty]), FILTER(ALL('Date'),'Date'[Year]=max('Date'[Year]) && 'Date'[Week] <= Max('Date'[Week]) ))
LYTD = CALCULATE(sum('Table'[Qty]), FILTER(ALL('Date'),'Date'[Year]=max('Date'[Year])-1 && 'Date'[Week] <= Max('Date'[Week])))
that mean i must change every measure used in all slide?
the year week format already defined YYYMM
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
133 | |
90 | |
88 | |
64 | |
58 |
User | Count |
---|---|
201 | |
137 | |
107 | |
70 | |
68 |