Hi world!I came from the green side (Qlik) so I´ve found some problemns developing some "script" tasks that for sure you will help meIt´s really easy.I want to add a new column (flag column) with values 0 and 1 when the following isntructions:
****Column ID is NULL AND Column TYPE is different than the value "house"****
In Qlik should be something like if(isnull(ID) and TYPE <>"house",1,0) But I am a beginner in DAX model so I need some help
Go to Solution.
Try this formula
Column = IF(LEN(Table[COLUMN_D])=0 && Table[TYPE] <> "house",1,0)
Column = IF(Table[COLUMN_D]=BLANK() && Table[TYPE] <> "house",1,0)
Flag = IF(ISBLANK(Table2[ID]) && Table2[TYPE,] <> "House",1,0)
There is a problem with the formula the PBI says the following " Token RoghtParen expected" and select the first coma "," -->
Where did you put the formula? It seems that you are creating a column using Power Query.
This is a DAX formula.
Also based on regional settings the comma can be replaced with semicolon ' ; '
Ok I got it!!! I was trying to edit the query, I was in the wrong section.Thanks all for the responses, BTW I needed ";" instead of ","
Engage and empower students with Power BI!
Continue your learning in our online communities.
Travel to Melbourne and network with thousands of peers!
Check out what's new in the Power BI Community!