Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Bonjour,
Je souhaiterais récupérer la valeur de la variable au format texte afin de pouvoir réaliser mon calcul filtré avec la variable.
Le résultat suivant n'affiche rien. La variable mois retourne bien le mois de juin par exemple.
Solved! Go to Solution.
correct DAX :
I had a space before name of month then i modified MID formula in replace 2 by 3
Hi @Gaston78 ,
MID ( <Text>, <StartPosition>, <NumberOfCharacters> )
In your VAR mois the number of characters is set to be always 10.
Is this correct? E.g. juin is only 4.
Hi,
Yes these are the months of the year and the month of December has 10 characters.
I would like to put the month variable with quotation marks.
Thanks for your help 🙂
I wish you a good day.
correct DAX :
I had a space before name of month then i modified MID formula in replace 2 by 3
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 6 | |
| 5 | |
| 4 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 24 | |
| 21 | |
| 12 | |
| 10 | |
| 8 |