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
Hello, I have a problem with a filter in a calendar table and I am not being able to figure out what I am doing wrong. The issue seems simple, but the filter expression that I am using doesn´t work the way I want. All the information is in the same table.
When I click on the month number on the slicer I want the measure to show de last date of the month selected. In the case of the picture below it should show 31/05/2020 for all Month_year lines and not 31/12/2020.
I appreciate the help.
Thanks!!
Solved! Go to Solution.
Hi, @Anonymous ,
If you look at the screenshots I provided, your requirements have been met. But I may need to add that slicers are not related to the main table, you can test it again.
Best!
Mark this post as solution if this helps,thanks!
Hello @Anonymous, all the information comes from the same calendar table (dcalendario). It is showing all the Month_year because the interaction between the slice and the table is inactive. I need to show the Month_year.
I didn´t think about creating a second table, it is a good way around. I am going to try and will let you know if works.
Thanks for the insights!!
Hi, @Anonymous ,
If you look at the screenshots I provided, your requirements have been met. But I may need to add that slicers are not related to the main table, you can test it again.
Best!
Mark this post as solution if this helps,thanks!
Thank you so much!! It is working perfectly!!!
Hello;
Thanks for your help @DavisBI and @Anonymous , but I still can´t get it to work.
I need the table to show the last day of the selected month for all the dates, in the case below it should show 31/07/2020 for all the Month_year (mm/aa) lines and it is showing the last day of each month_year.
@Anonymous You can use this below formula
calculate (EOMONTH([calenderio date], Selectedvalue(month))
Thank you
Hi, @Anonymous ,
In this case you can use selectedvalue() . The following is for your reference:
Measure = EOMONTH(DATE(<year>,SELECTEDVALUE('Table'[Value]),1),0)
Mark this post as solution if this helps,thanks!
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 |
|---|---|
| 20 | |
| 11 | |
| 10 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 33 | |
| 30 | |
| 19 | |
| 11 | |
| 10 |