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.
Hi,
I have measure
% Perf Inc =
IF(NOT(ISBLANK([Measure1])),1-[Measure1]) -- formatted as percentage
I created Matrix
I want in Total dispaly average = 88.9%
Thank you
Solved! Go to Solution.
Hi @Alex_G7
You can try measure as:
Measure=
var a =
IF(NOT(ISBLANK([Measure1])),1-[Measure1])
var b = averagex()// Expressions that you expect to total
Return
IF(
HASONEVALUE([RESPONSABLE]),
a,
b
)
You can refer: https://docs.microsoft.com/en-us/dax/hasonevalue-function-dax
Best Regards,
Link
Hi @Alex_G7
You can try measure as:
Measure=
var a =
IF(NOT(ISBLANK([Measure1])),1-[Measure1])
var b = averagex()// Expressions that you expect to total
Return
IF(
HASONEVALUE([RESPONSABLE]),
a,
b
)
You can refer: https://docs.microsoft.com/en-us/dax/hasonevalue-function-dax
Best Regards,
Link
Hello @Alex_G7 ,
the value in the cell for total will give back 1-[Measure1].
To be honest I don't have any clue how the [Measure1] looks like, so I don't know if the result makes sense.
But if you want to give back a different result for the total try the ISINSCOPE function:
% Perf Inc =
IF(
ISINSCOPE( myTable[RESPONSABLE] ),
IF(
NOT (
ISBLANK( [Measure1] )
),
1 - [Measure1]
),
1 - AVERAGE( [Measure1] )
)
% Perf Inc =
IF(
ISINSCOPE( myTable[RESPONSABLE] ),
IF(
NOT (
ISBLANK( [Measure1] )
),
1 - [Measure1]
),
1 - AVERAGE( [Measure1] )
)
The AVERAGE function only accepts a column reference as the argument number 1.
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 |
---|---|
111 | |
95 | |
80 | |
68 | |
59 |
User | Count |
---|---|
150 | |
119 | |
104 | |
87 | |
67 |