Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin 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.
Hey PBI Community,
I need some help. I do not know how to create 1 measure which uses a specific date and then create 2 measures using a different date. At the fundamental level I created 2 calendars, and the data results were correct when I used both calendars, however, now I can't figure out how to use the calendars to display the data. I think I need some more complex measures. Do you have any ideas on how to resolve my problem?
My measures are very simple.
Total Applications = SUM('Fact Data'[Applications])
Total Policies = SUM('Fact Data'[Policies])
Total Sales = SUM('Fact Data'[Original Sales])
Applications needs to use the Entry Date column, highlighted with the red box.
Policies and Sales need to use the Conversion Date column, highlighted with the red box.
Here is a snip of the Fact Data
How can I sum Applications using Entry Date?
How can I sum Policies and Sales using Conversion Date?
Thank you!
Solved! Go to Solution.
@kg4u , you should use combination of Calculate and UseRelationship functions.
Use 1 calendar table and then using these functions define which metrics uses which date column for calculation.
Link: https://www.sqlbi.com/articles/using-userelationship-in-dax/
Cheers,
Nemanja
Your solution worked perfectly for what I needed, thank you!
Your solution worked perfectly for what I needed, thank you!
@kg4u , you should use combination of Calculate and UseRelationship functions.
Use 1 calendar table and then using these functions define which metrics uses which date column for calculation.
Link: https://www.sqlbi.com/articles/using-userelationship-in-dax/
Cheers,
Nemanja
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
79 | |
73 | |
58 | |
36 | |
32 |
User | Count |
---|---|
90 | |
60 | |
60 | |
49 | |
45 |