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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

Reply
Moeez
New Member

Data filtering

So, when we're filtering all data from day, month, and year (selecting all function).
Now, 5 out of 6 visuals are filtering data but 1 isn't doing that.
Below attached is the query used for filtering and visuals screenshot is attached.

 

 

WhatsApp Image 2024-05-28 at 12.14.29 AM.jpegWhatsApp Image 2024-05-28 at 12.14.28 AM.jpeg

  

4 REPLIES 4
Kaviraj11
Solution Sage
Solution Sage

DATESMTD & DATEADD are time intelligence function. Make sure your data model supports these time intelligence functions. For example, you need a continuous date column for these functions to work correctly. So please create a date table and reference the date column from that in your query.




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





can you please connect with us on google meet link? so we can better understand 

 

 

Kaviraj11
Solution Sage
Solution Sage

 

does your data model consist of date table? If not, Ensure that your ActualDate table is linked to your date table in the data model. 

 

MTD Sales = CALCULATE([Sales], DATESMTD(DATEADD(ActualDate[Date], -1, DAY)))

 

 

 




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





OCAC master data actual date (column), is not connected to table calendar dates(Column).

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.