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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

Slicers with custom period to date calculation

Hi all,

 

As per uploaded pbix file, I have a custom financial period, and the PTD calculations against it are working fine.

 

The issue is when I select the other filters I have in the dashboard (Product / Category / SubCategory) the PTD value remains the same. I need the PTD calculation to filter on all filters except for dates.

 

For example, selecting 25th October 2018, the PTD value is correct. Upon sleecting one of the other filters the PTD does not change and I need it to update accordingly without hardcoding the specific filters.

 

I would really appreciate your help in this one.

 

https://1drv.ms/f/s!AiYtBXEZ84pPhiMWMgcoFVokdIqt

 

 

Thanks.

 

6 REPLIES 6
Ashish_Mathur
Super User
Super User

Hi,

 

What is PTD?  When you select 25 October 2018, what time period shoul it be considering for the PTD measure?


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
Anonymous
Not applicable

Hi @Ashish_Mathur

 

The PTD calculation should calculate the dates  for 23- 25 Oct. It is currently working OK as per calculation in the attached pbix but not working well when other slicers are used.

 

Any help would be great

 

Thanks

 

Hi,

 

I cannot understand your question.  Someone else who does will help you.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
Anonymous
Not applicable

Hello @Ashish_Mathur,

 

I just want the PTD calculation to work with the slicers as currently it is not.

 

Would be great if you can check out the attached powerbi file and provide any help here.

 

 

Greg_Deckler
Community Champion
Community Champion

You probably need to replace an ALL with an ALLEXCEPT, etc. That can be tricky through depending on what time intelligence functions you are using. See if my Time Intelligence the Hard Way provides a different way of accomplishing what you are going for.

https://community.powerbi.com/t5/Quick-Measures-Gallery/Time-Intelligence-quot-The-Hard-Way-quot-TIT...

 

Created it to provide better control over exactly what is and is not included in a time intelligence calculation.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...
Anonymous
Not applicable

Thanks @Greg_Deckler,

 

Are there other ways of accomplishing this without using ALLEXCEPT?

 

If not can you give assist with the attached pbix?

 

Appreciate your help

 

 

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors