This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowThe Fabric community is upgrading! Read all of the details including the timeline and what you can expect. Learn more
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")
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
| User | Count |
|---|---|
| 27 | |
| 22 | |
| 20 | |
| 18 | |
| 14 |
| User | Count |
|---|---|
| 25 | |
| 20 | |
| 20 | |
| 20 | |
| 20 |