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
@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
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 |
|---|---|
| 59 | |
| 46 | |
| 42 | |
| 23 | |
| 18 |
| User | Count |
|---|---|
| 192 | |
| 125 | |
| 99 | |
| 67 | |
| 48 |