Forum Discussion
Timeline slicer Problems
Ok i've cleaned up your formula, this should do the exact same thing as your longer one:
Semana-Año = YEAR('Indicadores Bancos'[Fecha].[Date]) & "-" & FORMAT(WEEKNUM('Indicadores Bancos'[Fecha].[Date], 1), "00")I've explicitly stated to start your WEEKNUM calculation where the Week begins on Sunday. if you change the ", 1" to a ", 2" in the WEEKNUM formula, you can change this to Monday if you like.
Now just check your setting for your Timeline Slicer, click on it and check in the Format section (looks like a paint roller). There is a section called "First Day of the Week"
Thanks for the formula, but I don´t understand finally the diference? Well, maybe is easier resolvel the result now?
And I understood from the first time your sugeestion about the option, this is the default format and I don't see other opción to change. Any idea?
- Anonymous9 years agoNot applicable
The main changes i made to your formula was simply removing redundant functions you didn't need. Think of it as a cleaned up version.
I've attempted to replicate your scenario with the timeline slicer and i'm getting the same problem. It looks like the Timeline Slicer is calculating the week number differently to how Power BI does it. Its likely a fault within the custom visual itself.