Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
monishd
Frequent Visitor

How to return a TABLE in PowerBi

I have a measure that "counts" the number of rows which contains certain strings. I want a drill through for the visual that shows the count. How can I filter the table to show only those rows which were counted in the measure?

 

Here is the measure,

count_inc_for_disk_space_increase = CALCULATE(
    COUNT(IncidentTable[incident_number]),
    (
    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")
    )
)
 
I only want these incidents which are counted in this measure to be displayed in the table.
1 ACCEPTED SOLUTION
bhanu_gautam
Super User
Super User

@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.




Did I answer your question? Mark my post as a solution! And Kudos are appreciated

Proud to be a Super User!




LinkedIn






View solution in original post

2 REPLIES 2
v-pgoloju
Community Support
Community Support

Hi @monishd 

Thanks for reaching out to the Microsoft Fabric Forum Community.


And aslo Thanks to @bhanu_gautam  for Promt and useful response.

 

Just following up to see if the solution provided was helpful in resolving your issue. Please feel free to let us know if you need any further assistance.

If the response addressed your query, kindly mark it as Accepted Solution and click Yes if you found it helpful — this will benefit others in the community as well.

 

Best regards,

Prasanna Kumar

bhanu_gautam
Super User
Super User

@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.




Did I answer your question? Mark my post as a solution! And Kudos are appreciated

Proud to be a Super User!




LinkedIn






Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors