Quantcast
Channel: Desktop topics
Viewing all articles
Browse latest Browse all 213819

Multiple conditions and values in a mesaure

$
0
0

Hi everyone!

 

I'm so stuck with something. I'm trying to create a measure that has to evaluate several conditions for the final value. Please kindly see next pic.

Sin título.png

 

The 2 tables that I'm trying to use are Zona-Gestión and Inflación, related with IdZonaGestion. In the page of my report I'm displaying several measures in a table visual opened by 'Zona-Gestión'[IdZonaGestion]. The measure that is not working for me, is next:
Measure =
IF(
 'Zona-Gestión'[IdZonaGestion] = "CEN-ROE" || 'Zona-Gestión'[IdZonaGestion] = "CEN-ROW";
 'Inflación'[Inflación CEAM];
 'Inflación'[Inflación Resto]
)

 

'Zona-Gestión'[IdZonaGestion] is a Column
'Inflación'[Inflación CEAM] and 'Inflación'[Inflación Resto] are Measures

 

It seems really simple but I can't make it work. The column IdZonaGestion of Zona-Gestión table, is not recognized by the measure.

 

What am I doing wrong?

 

Thanks in advance.


Viewing all articles
Browse latest Browse all 213819

Trending Articles