Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hello. I have two columns 'RateSchedule - Current[UtilityName]' and 'RateSchedule - Current[CompanyId]'. My goal is to have a table visual in the report that I can filter out utilities deemed as "Custom". If a [UtilityName] has an accompanying [CompanyId] then it should be considered "Custom". If [CompanyId] is blank, then it is considered "Global". And if a [UtilityName] has both, then it is "Global".
Example:
'RateSchedule - Current[UtilityName]' 'RateSchedule - Current[CompanyId]'
ANEC-VA 6721
ANEC-VA ------
ANEC-VA 10484
AEC 10733
AEC 8413
ACEC ------
ACEC ------
In this example, ANEC-VA should be "Global", AEC should be "Custom", and ACEC should be "Global".
My problem is figuring out how to classify a [UtilityName] as "Global" when it has multiple rows that have blanks and IDs. I think SUMMARIZE is what I need to use, but I'm not entirely sure.
I'm fairly new to Power BI and I appreciate any help you can provide!
Solved! Go to Solution.
@rweb95 , Try a new column like
if(countx(filter(table, [UtilityName] =earlier([UtilityName] ) && isblank([CompanyId])),[UtilityName])+0>=1,"Global", "Custom" )
@rweb95 , Try a new column like
if(countx(filter(table, [UtilityName] =earlier([UtilityName] ) && isblank([CompanyId])),[UtilityName])+0>=1,"Global", "Custom" )
Yep, that worked! Thank you for your help!
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 68 | |
| 46 | |
| 44 | |
| 29 | |
| 20 |
| User | Count |
|---|---|
| 202 | |
| 130 | |
| 102 | |
| 71 | |
| 55 |