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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
joshua1990
Post Prodigy
Post Prodigy

Display values based on filter from different table

Hi all!

I have a transactional table that is linked to our calendar table via Date column.

This values I have displayed in a simple matrix:

  2023-Jan 2023-Feb 2023-Mar 2023-Apr
  500 600 750 656

 

Then I have a second table that is not linked to the calendar table an has this structure:

Group Date
A 07.01.2023
B 15.02.2023

 

This table I would like to use as a filter in the dax measure. Here I would like to sum up the values again but just until the Date that is displayed in the calumn [Date].

Something like:

CALCULATE(SUM(Sales[Value]), FILTER(Calendar, Calendar[Date] <= Table2[Date]).

 

How would you achieve that with DAX?

1 REPLY 1
lbendlin
Super User
Super User

please provide more details on the transaction table. Does it have an actual transaction date (not only a month), does it contain the Group column?

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.