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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
extri13
Helper I
Helper I

Is there a way to check with date dimension is filtered on a chart : by day, by month, by year?

Dear BI users,

 

Is there a way to check with date dimension is filtered on a chart : by day, by month, by year?

This is for switching DoD & MoM on a chart by X-axis date dimension.

My purpose and the findings of details so far listed below.

 

Purpose

  • Show the MoM and DoD data 
  • Hope to show both MoM and DoD on one chart to better experience
  • X-axis could be changed by Drill Up/Down or Slicer
  • (Check below captured charts)

Findings

 

Chart of DoD by daysChart of DoD by days        Chart of DoD by months (hope to adapt MoM instead of DoD)Chart of DoD by months (hope to adapt MoM instead of DoD)

 

 

Sincerely,

 

Lee, Hong Gwoo

1 ACCEPTED SOLUTION

OK, and I'm just confirming and talking this out in my head, what we need to do is either:

  1. Find a way to switch up which measure we are using in the chart based upon the filter context for that chart
  2. Find a way to use a single formula for calculating both DoD and MoM
  3. Find a way to combine DoD and MoM into a single aggregate measure that gets filtered based upon the filter context of the chart

 

Honestly, I'm not sure any of those are possible but I'll spend some cycles noodling on it. The one that strikes me as the most plausible is #2 using something like PARALLELPERIOD maybe? Not thinking of an easy solution.



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...

View solution in original post

7 REPLIES 7
Greg_Deckler
Community Champion
Community Champion

I am not understanding your issue. It looks like you have a single chart that has a Month and Day hierarchy that you can drill down and up or are you saying that you want to display both the MoM or DoD at the same time in a single visualization. I do not understand where the ISFILTERED comes into play. Can you please clarify?



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...

First of all, thanks for your interest on the issue.

 

I illustrate the issue clearly below. Hope it helps your better understanding.

 

Purpose

  1. [In case of day view on X-axis] Chart shows DoD growth rate
  2. [In case of month view on X-axis] Chart shows MoM growth rate
  3. Above two are occured in same chart
  4. and X-axis is with date/time type column which is automatically hierarhied by Power BI as usual

Expected Solution

  1. Any DAX measure (like ISFILTERED) can switch DoD and MoM Measures by drill down/up to month and day
  2. Any formula with DAX measure which can calculate DoD and MoM simultaneously 

 

Sincerely,

 

Lee, Hong Gwoo

OK, I'm pretty sure I get it now, can you post your formulas for DoD and MoM?



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...

Below is the formulars.

Thanks in advance for your kindness.

 

  • Revenue (DoD %) = DIVIDE([Revenue (Today)]-[Revenue (Today -1)], [Revenue (Today -1)])
    Revenue (Today) = CALCULATE([Revenue (SUM)], DATEADD ( LASTDATE ( 'Dates'[Dates] ), 0, DAY )) +0
    Revenue (Today -1) = CALCULATE([Revenue (SUM)], DATEADD ( LASTDATE ( 'Dates'[Dates] ), -1, DAY ))
  • Revenue (MoM %) = DIVIDE ([Revenue (Month)] - [Revenue (Month-1)], [Revenue (Month-1)])
    Revenue (Month) = TOTALMTD([Revenue (SUM)],'Dates'[Dates])
    Revenue (Month-1) = TOTALMTD([Revenue (SUM)],PREVIOUSMONTH('Dates'[Dates]))
  • Revenue (SUM) = SUMX('Revenue',[Revenue])

 

BR,

 

Lee

@extri13 - Something I just found that you might want to vote for (although it is already started): 

 

https://ideas.powerbi.com/forums/265200-power-bi-ideas/suggestions/13397166-better-date-range-filter...

 



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...

OK, and I'm just confirming and talking this out in my head, what we need to do is either:

  1. Find a way to switch up which measure we are using in the chart based upon the filter context for that chart
  2. Find a way to use a single formula for calculating both DoD and MoM
  3. Find a way to combine DoD and MoM into a single aggregate measure that gets filtered based upon the filter context of the chart

 

Honestly, I'm not sure any of those are possible but I'll spend some cycles noodling on it. The one that strikes me as the most plausible is #2 using something like PARALLELPERIOD maybe? Not thinking of an easy solution.



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...

Thank you very much.

 

It seems like there is no right answer for my need based on the opinion of you who is one of the most professional user on this board I've seen so far.

 

I am really really impressed by your kindness and passion for BI from your answer.

Also, it is still a good answer that there is no solution. 

 

Thanks again 

 

Lee, Hong Gwoo

 

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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