Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi , i have a a query where i am importing data every monday, but for a lot of the visuals , they must only be updated when the month has ended and all data is available.
For example now i have a graph which shows data for September but only for the first 6 days.
I can off course remove September manually by filter , but is there a way to create a filter so only the full months are shown?
Solved! Go to Solution.
@bilingual , Not very clear.
You can have a column in the date table like
Month Type = Switch( True(),
Date[Date] = eomonth(Today(),0) && eomonth(Date([Date],0)= eomonth(Today(),0) ,"Current Month" , //Last Month
Date[Date] <> eomonth(Today(),0) && eomonth(Date([Date],0)= eomonth(Today(),-1) && ,"Current Month" , //This Month
[Month Year]
)
and Use current month as filter
@bilingual , Not very clear.
You can have a column in the date table like
Month Type = Switch( True(),
Date[Date] = eomonth(Today(),0) && eomonth(Date([Date],0)= eomonth(Today(),0) ,"Current Month" , //Last Month
Date[Date] <> eomonth(Today(),0) && eomonth(Date([Date],0)= eomonth(Today(),-1) && ,"Current Month" , //This Month
[Month Year]
)
and Use current month as filter
Hi Amit, unfortunately it does not work, as the Current Month is only active for one of the days in the month, not all days 😞
My example:
Date | Current month formula | Måned_år |
28-09-2020 | Current month | sep-20 |
21-09-2020 | sep-20 | sep-20 |
07-09-2020 | sep-20 | sep-20 |
08-09-2020 | sep-20 | sep-20 |
31-08-2020 | sep-20 | sep-20 |
Thanks Amit,
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
110 | |
97 | |
77 | |
63 | |
55 |
User | Count |
---|---|
143 | |
109 | |
89 | |
84 | |
66 |