Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
Dear all,
I'm focused to get a calendar campaing to filter time periods ranges.
Campaigns:
If I select Cherry winter the date picker must change to:
I' ve testing creating a column at the calendar table by campaing that is to say, one column Cherry Summer, another one Cherry Winter but I don't know if I'm following the correct way.
Do you have an idea?
I add the pbix to work with: Calendarv4
ok I have changed your formula
Hi @JamesFR06 !
Again thank you!
Now when I select one year at the filter appears the campaings related to the year - what is easy to manage - but the problem is that the campaing that start one year and rolling up to the next one is stuck at the year that you have selectec, that is to say if you select 2.023 at the year filter the campaing that goes from months 9,10,11,12 from 2.023 and continuos to the months 1,2,3 of 2.024 remains stuck at 31.12.23.
I add the pbix: CalendarV4
Hi Luis_Caston
I've created a new column
test =
IF (
AND ( Calendario[NumMonth] IN { 4, 5, 6, 7 }, Calendario[Year] = 2023 ),
"Cherry Summer",
IF (
OR (
AND ( Calendario[NumMonth] IN { 1, 2, 3 }, Calendario[Year] = 2024 ),
AND ( Calendario[NumMonth] IN { 9, 10, 11, 12 }, Calendario[Year] = 2023 )
),
"Cherry Winter"
)
)
After on ly side it works when I choose winter or summer choice
Hi @JamesFR06 !!
Good idea!!!
That's exactly what I'm looking for becasue changes the Date Picker.
One thing do you know how can I make it dynamic? Because now years are fixed.
I'm thinking to add for example a Year filter and replace your formula as follows:
Luis
In your formula I do not see where you store the value of your year choice.
So try
SelectedYear=Selectedvalue(Calendario[Year])
and after in your formula for exemple change as below :
Instead of :
AND ( Calendario[NumMonth] IN { 1, 2, 3 }, Calendario[Year] = Calendario[Year]+1)
Make this
AND ( Calendario[NumMonth] IN { 1, 2, 3 }, Calendario[Year] = SelectedYear+1)
HI @JamesFR06
I've made this but the options dissepear:
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 51 | |
| 37 | |
| 35 | |
| 19 | |
| 17 |
| User | Count |
|---|---|
| 72 | |
| 70 | |
| 39 | |
| 34 | |
| 23 |