Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
I am new to Power BI, and not yet across DAX.
I have 7 existing columns with yes / no data: "as" "ts" "hns" "mhs" "ws" "cs" "rtc"
I need a new column to effect of: if "as" or "ts" or "hns" or "mhs" or "ws" r=or "cs" or "rtc" = yes, return yes, otherwise return no
It's way more concise and robust to use PQ to achieve this result
= Table.AddColumn(Source, "Chk", each if List.Contains(Record.ToList(_), "Yes", Comparer.OrdinalIgnoreCase) then "Yes" else "No")
Expertise = List.Accumulate( {Days as from Today}, {Skills and Knowledge}, (Current, Everyday) => Current & Day.LearnAndPractise(Everyday) ) |
Hi, @JeffreeN
see if this DAX works.
New Column =
IF(
OR('Table'[as] = "Yes", 'Table'[ts] = "Yes", 'Table'[hns] = "Yes", 'Table'[mhs] = "Yes", 'Table'[ws] = "Yes", 'Table'[cs] = "Yes", 'Table'[rtc] = "Yes"),
"Yes",
"No"
)
it will return yes if any of the column value is yes. other wise it will return no.
If my assistance helped you in any way, hit 👍.
Proud to be a Super User!
User | Count |
---|---|
14 | |
9 | |
8 | |
7 | |
5 |
User | Count |
---|---|
24 | |
16 | |
15 | |
10 | |
7 |