Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hello Community,
This is the tableDuration in seconds column
How can I add one more column which would say
Psuedocode/logic
IF ([DurationInSecs]>600) THEN 'Warning Extended absense of [DurationInSecs] seconds' Else 'Below 600 seconds'
Solved! Go to Solution.
Hi @reportuser ,
You can create a calculated column using following DAX expression:
FlagColumn = IF ('Table1'[DurationInSecs] > 600,
CONCATENATE("Warning Extended absense of ", CONCATENATE('Table1'[DurationInSecs], " seconds")),
"Below 600 seconds")
Replace 'Table1' in above dax with your table-name.
Thanks,
Pragati
Hi @reportuser ,
You can create a calculated column using following DAX expression:
FlagColumn = IF ('Table1'[DurationInSecs] > 600,
CONCATENATE("Warning Extended absense of ", CONCATENATE('Table1'[DurationInSecs], " seconds")),
"Below 600 seconds")
Replace 'Table1' in above dax with your table-name.
Thanks,
Pragati
@reportuser , try as a new column
IF ([DurationInSecs]>600, "Warning Extended absense of [DurationInSecs] seconds" , "Below 600 seconds")
| User | Count |
|---|---|
| 58 | |
| 45 | |
| 32 | |
| 16 | |
| 14 |
| User | Count |
|---|---|
| 82 | |
| 68 | |
| 43 | |
| 26 | |
| 25 |