The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
Hi
I created a dashboard in Excel with dax on my computer, it works well
There is some pivot, and i have a measure like this one:
mesure 1:=var nbmois =5
var CAN1p = CALCULATE([VENTES DE MARCHANDISES + PRODUCTION 2];REMOVEFILTERS(Exercices[Exercices]);Exercices[Exercices]="N-1 Pr")
var CAN1 = CALCULATE([VENTES DE MARCHANDISES + PRODUCTION 2];REMOVEFILTERS(Exercices[Exercices]);Exercices[Exercices]="N-1")
return
SWITCH (
TRUE;
min(Exercices[Exercices] ) = "N"; [Switch SIG Balance 2] / ( [VENTES DE MARCHANDISES + PRODUCTION 2] );
min(Exercices[Exercices] ) = "N-1"; [Switch SIG Balance 2] / ( [VENTES DE MARCHANDISES + PRODUCTION 2] );
min(Exercices[Exercices] ) = "Variation"; [Switch SIG Balance 2] /(CAN1*5/12)
As you see i use REMOVEFILTERS
I try to use this dashboard on a another computer, and REMOVEFILTERS isnt' reconize ....
fist time i see that
I try to remove and reinstall Office, same way
If someone have a idea
Thanks
Nicolas
Solved! Go to Solution.
@nicolast29 , Remove filter was introduced after 2016 version so, you can check version and if there is still issue you can use ALL instead of remove filter
mesure 1:=var nbmois =5
var CAN1p = CALCULATE([VENTES DE MARCHANDISES + PRODUCTION 2], ALL(Exercices[Exercices]), Exercices[Exercices]="N-1 Pr")
var CAN1 = CALCULATE([VENTES DE MARCHANDISES + PRODUCTION 2], ALL(Exercices[Exercices]), Exercices[Exercices]="N-1")
return
SWITCH (
TRUE,
min(Exercices[Exercices]) = "N", [Switch SIG Balance 2] / ([VENTES DE MARCHANDISES + PRODUCTION 2]),
min(Exercices[Exercices]) = "N-1", [Switch SIG Balance 2] / ([VENTES DE MARCHANDISES + PRODUCTION 2]),
min(Exercices[Exercices]) = "Variation", [Switch SIG Balance 2] / (CAN1 * 5 / 12)
)
Proud to be a Super User! |
|
@nicolast29 , Remove filter was introduced after 2016 version so, you can check version and if there is still issue you can use ALL instead of remove filter
mesure 1:=var nbmois =5
var CAN1p = CALCULATE([VENTES DE MARCHANDISES + PRODUCTION 2], ALL(Exercices[Exercices]), Exercices[Exercices]="N-1 Pr")
var CAN1 = CALCULATE([VENTES DE MARCHANDISES + PRODUCTION 2], ALL(Exercices[Exercices]), Exercices[Exercices]="N-1")
return
SWITCH (
TRUE,
min(Exercices[Exercices]) = "N", [Switch SIG Balance 2] / ([VENTES DE MARCHANDISES + PRODUCTION 2]),
min(Exercices[Exercices]) = "N-1", [Switch SIG Balance 2] / ([VENTES DE MARCHANDISES + PRODUCTION 2]),
min(Exercices[Exercices]) = "Variation", [Switch SIG Balance 2] / (CAN1 * 5 / 12)
)
Proud to be a Super User! |
|
Thanks a lot
Have a nice day
User | Count |
---|---|
15 | |
12 | |
8 | |
7 | |
7 |
User | Count |
---|---|
24 | |
20 | |
12 | |
9 | |
7 |