Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago
Solved

Unable to create Measure

I was creating a measure column using the below code:

 

Measure = SWITCH(
TRUE(),
[FlagD] = "Red", UNICHAR(128315),
[FlagD] = "Green",UNICHAR(9650),
[FlagD] = "Yellow",UNICHAR(128310),
BLANK()
)
 
It shows me error as:
 

Contrary if i create new column with same code, it is ok. ANy help on this subjetc as i am new to Power BI

1 Reply

  • themistoklis's avatar
    themistoklis
    Community Champion

    You are using a measure.

     

    Use a column instead.