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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
sph1nkz
Frequent Visitor

How to get summarize results that contains a value?

This is the sample scenario and results

sph1nkz_0-1675158318315.png

 

2 REPLIES 2
SamInogic
Super User
Super User

Hi @sph1nkz,

 

As per our understand you need to check if service type is MPLS, Radio, VSAT then Backup Status is equal to "Has Backup" And if service type is MPLS, but no Radio, VSAT then backup status is equal to "No Backup".

 

Create new Column with below DAX expression as shown in below,

Backup Status = IF('Table'[type]

IN {"MPLS","Radio","VSAT"} && 'Table'[Site Name]

in {"Site A Farm"},"has Backup","No Backup")

SamInogic_1-1675160690580.png


Below is the result :

SamInogic_0-1675160662869.png


If this answer helps, please mark it as Accepted Solution so it would help others to find the solution.


Thanks!

Inogic Professional Service Division

An expert technical extension for your techno-functional business needs

Power Platform/Dynamics 365 CRM

Drop an email at crm@inogic.com

Service:  http://www.inogic.com/services/ 

Power Platform/Dynamics 365 CRM Tips and Tricks:  http://www.inogic.com/blog/

Inogic Professional Services: Power Platform/Dynamics 365 CRM
An expert technical extension for your techno-functional business needs
Service: https://www.inogic.com/services/
Tips and Tricks: https://www.inogic.com/blog/
rusgesig
Helper IV
Helper IV

You need to group your row level (Site A/B) then return one value per row stating whether there is a backup or not. Your desired output table is inconsistent, as in that case MPL5 = both Backup and No Backup.
There are many ways to do it. You can group the Site Name column in query editor, choose SUM as the group function for your service type - it will return an error. 

rusgesig_0-1675160325662.png

rusgesig_1-1675160345585.png

In the formula bar, change 'sum' to 'Text.Combine' and add the seperator

rusgesig_2-1675160411327.png

Add a custom column with the following:

if Text.Contains([Count], "Radio") or Text.Contains([Count],"VSAT") then "Has Backup" else "No Backup")

rusgesig_3-1675160662973.png

this is your result, you can join new the table on the Site Name if you want.

 

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.