Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
Hello,
I have an issue to get rid of the effect of a time-based slicer on a measure displayed on the same page than graphical visuals à I want the slicer to apply on my graphs, I want the measure to be independent of it.
More details :
Everything was ok until I introduced the slicer --> the graphs are responding well, but of course, the result of the measure is influenced by the period selected in the slicer ==> I want to get rid of that effect on my measure.
I made multiple tries without success (but I’m a newbie), and there is something I don’t get by making some tests on a separate page on which I put the slicer, selected in it a previous month (not the last one, of course), and created some test measures as follows :
Test 2 = CALCULATE(COUNT(‘Tickets Created’[Ticket Reference]),ALL('Time Table'[Year-Month2]), FILTER(ALL(‘Tickets Created’[Year-Month]), ‘Tickets Created’ [Year-Month] = [Test 3])) ==> KO!! It gives me the same result as Test 1 and I don’t understand! o_O
I tried other things, but nothing seems to work, and I’m in a dead-end.
Can you please help?
Many thanks in advance!
Elorian.
Solved! Go to Solution.
Hello,
I just made another test : instead of using, in my measure Test 2, the measure Test 3 in the FILTER, I created a variable containing exactly the same thing than measure Test 3, and used it in the FILTER instead of measure Test 3 --> I get the correct result!
I still don't understand in what it is different and why the result is not the same, but I still have a solution to my issue.
Kr,
Elorian.
@Elorian , based on what I got so far
is this Time Table is date table joing on ticket created date in ticket table?
If so
You can have measures like
MTD Tickets = CALCULATE(COUNT(‘Tickets Created’[Ticket Reference]),DATESMTD('Date'[Date]))
last MTD Tickets = CALCULATE(COUNT(‘Tickets Created’[Ticket Reference]),DATESMTD(dateadd('Date'[Date],-1,MONTH)))
Or use a date table
refer in case you have 2 dates to deal with
Hello,
I just made another test : instead of using, in my measure Test 2, the measure Test 3 in the FILTER, I created a variable containing exactly the same thing than measure Test 3, and used it in the FILTER instead of measure Test 3 --> I get the correct result!
I still don't understand in what it is different and why the result is not the same, but I still have a solution to my issue.
Kr,
Elorian.
Hello,
Yes, the "time table" I mention is indeed a date table related to my fact table. It has, amongst others, columns Year, Month, Year-Month (text format) and Year-Month2 (date format).
Thanks for the measure you give me, but this doesn't fit my need... And it doesn't explain the result I get with my test measures I describe below.
Kr,
Elorian.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.