Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
@nilimarodrigues There is no relationship between FCO & Companies because there is no Company ID within FCO but there is ID in Commitments and both FCO and Commitments is tied to Project via Project_ID
@Anonymous The relationships seem good. You could use Selectedvalue() to get the company value and use it in a measure like:
Number of Change Orders =
VAR company = SELECTEDVALUE(Companies[CompanyName])
RETURN
CALCULATE(COUNT(Process_FCO[InstanceId]),Companies[CompanyName] = company)
I use some sample data to replicate the tables and relationships and it works. Please refer to this PBIX file.
Best Regards,
Community Support Team _ Jing Zhang
If this post helps, please consider Accept it as the solution to help other members find it.
Hello,
Is there any relationship between company table and process_FCO table? For example if they have One to Many relationship, if you simply pull the "ID" column and take summarization as "COUNT" - it will give you the count of all process IDs for selected company name.
If there is no relationship, would you be able to share some PBIX file or sample records of tables to understand the question further?
Thanks
Hi @Anonymous
What is the condition for the filter? Are you looking for a specific company name? You are just using the column
Companies[companyname] in the second argument of FILTER()
Number of Change Orders =
CALCULATE (
COUNT ( Process_FCO[instanceid] ),
FILTER ( Companies, Companies[companyname] = "Name of company here" )
)
Please mark the question solved when done and consider giving a thumbs up if posts are helpful.
Contact me privately for support with any larger-scale BI needs, tutoring, etc.
Cheers
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
74 | |
73 | |
56 | |
38 | |
31 |
User | Count |
---|---|
84 | |
63 | |
63 | |
49 | |
45 |