Forum Discussion
How to return a TABLE in PowerBi
- 1 year ago
monishd Create a calculated column in your IncidentTable that checks if the short_description contains any of the specified strings.
IncidentTable[IsDiskSpaceRelated] =
IF(
CONTAINSSTRING(IncidentTable[short_description], "Extend Disk") ||
CONTAINSSTRING(IncidentTable[short_description], "Increase Disk Space") ||
CONTAINSSTRING(IncidentTable[short_description], "Space") ||
CONTAINSSTRING(IncidentTable[short_description], "Clean and Remove") ||
CONTAINSSTRING(IncidentTable[short_description], "Free Space") ||
CONTAINSSTRING(IncidentTable[short_description], "Capacity is Full") ||
CONTAINSSTRING(IncidentTable[short_description], "Increase the VM Capacity") ||
CONTAINSSTRING(IncidentTable[short_description], "Requesting to increase"),
1,
0
)Use this calculated column to filter the table visual. You can do this by adding a filter to the table visual where IsDiskSpaceRelated equals 1.
monishd Create a calculated column in your IncidentTable that checks if the short_description contains any of the specified strings.
IncidentTable[IsDiskSpaceRelated] =
IF(
CONTAINSSTRING(IncidentTable[short_description], "Extend Disk") ||
CONTAINSSTRING(IncidentTable[short_description], "Increase Disk Space") ||
CONTAINSSTRING(IncidentTable[short_description], "Space") ||
CONTAINSSTRING(IncidentTable[short_description], "Clean and Remove") ||
CONTAINSSTRING(IncidentTable[short_description], "Free Space") ||
CONTAINSSTRING(IncidentTable[short_description], "Capacity is Full") ||
CONTAINSSTRING(IncidentTable[short_description], "Increase the VM Capacity") ||
CONTAINSSTRING(IncidentTable[short_description], "Requesting to increase"),
1,
0
)
Use this calculated column to filter the table visual. You can do this by adding a filter to the table visual where IsDiskSpaceRelated equals 1.