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.
Greetins community!
I need some help with a report that i am developing.
The idea is te report always shows from the current date, the 2 weeks before the current date and the 2 weeks after the current date.
So far, I have generated the calendar dimension an tried using the relative date slicer, but this control only allows one of the two options., Is it possible to do this in power bi?
I'm looking for a way to answer this but without succes so far, any ideas?
The only alternative i have so far is to separate both results into different pages.
I already appreciate any ideas.
Solved! Go to Solution.
@Anonymous , you have create a column like this in you date table and use that slicer. Assuming you have week name
Week Type = Switch( True(),
WEEKNUM(Date[Date] ) >= WEEKNUM( TODAY() ) -2 &&
WEEKNUM(Date[Date] ) <= WEEKNUM( TODAY() )+2,"Last 2 Week and next 2 week " ,
[Week Name]
)
use WEEKNUM(Date[Date],2 ) for monday week
@Anonymous , you have create a column like this in you date table and use that slicer. Assuming you have week name
Week Type = Switch( True(),
WEEKNUM(Date[Date] ) >= WEEKNUM( TODAY() ) -2 &&
WEEKNUM(Date[Date] ) <= WEEKNUM( TODAY() )+2,"Last 2 Week and next 2 week " ,
[Week Name]
)
use WEEKNUM(Date[Date],2 ) for monday week
Thanks! that's amazing!
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 |
---|---|
105 | |
96 | |
79 | |
67 | |
62 |
User | Count |
---|---|
137 | |
105 | |
104 | |
80 | |
63 |