The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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!
User | Count |
---|---|
24 | |
9 | |
8 | |
7 | |
6 |
User | Count |
---|---|
29 | |
13 | |
11 | |
9 | |
9 |