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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
Anonymous
Not applicable

Filter account if star product line exists within assets of an account

Hi everyone, 

 

Fairly basic PowerBI user here, apologies if my question is perfectly formatted. 

 

I have the following data:

 

Accounts

IDName
1Contoso

 

Assets

Account_IDProduct_Line_ID
11

 

Product Line

IDName
1Star_Product

 

In my report I need to be able to filter the accounts based on if they have any products from our Star_Product line.

 

I was thinking that I could add a HasStar_Product field as a Boolean to my accounts table and then I could filter the page in my report by that Boolean but I can't work out the best way to do it, any guidance or assistance would be greatly appreciated. 

 

Cheers,

 

Coops

2 REPLIES 2
wdx223_Daniel
Super User
Super User

filter(accounts,calculate(count(productline[id]),productline[name]="start_product"))

Anonymous
Not applicable

Hi Daniel,

 

Thanks for your response, I assumed that it should have been product then product line. 

 

Coops_1-1620810921295.png

 

This is the error I received, any chance of another pointer please ? 

 

 

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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