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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.

Top Solution Authors