Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hey, I believe this is pretty quick, I want to create a measure that can be dinamically filter by another measure that only contains a date.
For example, create a calculate similar to this = CALCULATE ( [total sales], calendar[date] = [date measure]) and being able to filter the sales by referencing the measure that contains the date without putting the date manually in the calculate,
is this possible? I tried but gave me an error
Solved! Go to Solution.
To avoid getting an error, you need to use the FILTER function.
Measure 5 = CALCULATE([Fact $], KEEPFILTERS( FILTER(ALL('Calendar'),'Calendar'[Date] =[measure date])))
Hi @krist_pbi
We have not received a response from you regarding the query and were following up to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions.
Thank You.
Hi @krist_pbi
Thanks for reaching out to the Microsoft fabric community forum.
I would also take a moment to thank @Ahmedx and @Ashish_Mathur , for actively participating in the community forum and for the solutions you’ve been sharing in the community forum. Your contributions make a real difference.
I hope the shared details help you fix the issue. If you still have any questions or need more help, feel free to reach out. We’re always here to support you
Best Regards,
Community Support Team.
Hi,
Does this work?
Measure = CALCULATE([total sales],FILTER{'calendar','Calendar'[Date]=[date measure]))
To avoid getting an error, you need to use the FILTER function.
Measure 5 = CALCULATE([Fact $], KEEPFILTERS( FILTER(ALL('Calendar'),'Calendar'[Date] =[measure date])))
pls try
Measure 5 = CALCULATE([Fact $], KEEPFILTERS( TREATAS({[measure date]},'Calendar'[Date])))
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 59 | |
| 43 | |
| 42 | |
| 23 | |
| 17 |
| User | Count |
|---|---|
| 190 | |
| 122 | |
| 96 | |
| 66 | |
| 47 |