Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
I have an existing table that has a date filter that I have set up manually.
What I want to do is pass a value from a custom measure ( a single month number of 1 or 2 etc up to 12 )
to the existing filter thats on the table.
When I run the performance analyzer, I can see the date value in the DAX code for the table :
Solved! Go to Solution.
You could create a calculation group to apply the filter. Create a couple of calculation items like
No Change = SELECTEDMEASURE()
and
Add custom filter =
CALCULATE (
SELECTEDMEASURE (),
TREATAS ( { DATE ( 2024, [Custom_month], 1 ) }, 'Calendar'[month] )
)
Then add the calculation group as a filter on the visuals you want to be affected, and choose "Add custom filter" as the only value.
With regards to DAX in DAX Query View, the query will be stored whenever you save the file. If you publish it to the service and then subsequently download it, the query will still be available.
Hi @wokka,
We haven’t heard back from you regarding your issue. If it has been resolved, please mark the helpful response as the solution and give a ‘Kudos’ to assist others. If you still need support, let us know.
Thank you.
Hi @wokka,
May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.
Thank you.
Hi @wokka,
I wanted to check if you had the opportunity to review the information provided by @johnt75 . Please feel free to contact us if you have any further questions. If the response has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.
Thank you.
You could create a calculation group to apply the filter. Create a couple of calculation items like
No Change = SELECTEDMEASURE()
and
Add custom filter =
CALCULATE (
SELECTEDMEASURE (),
TREATAS ( { DATE ( 2024, [Custom_month], 1 ) }, 'Calendar'[month] )
)
Then add the calculation group as a filter on the visuals you want to be affected, and choose "Add custom filter" as the only value.
With regards to DAX in DAX Query View, the query will be stored whenever you save the file. If you publish it to the service and then subsequently download it, the query will still be available.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 8 | |
| 6 | |
| 5 | |
| 5 | |
| 4 |
| User | Count |
|---|---|
| 25 | |
| 16 | |
| 8 | |
| 7 | |
| 7 |