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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
AnthonyJoseph
Resolver III
Resolver III

Active / Projected project count

Hello Community,

 

I have two tables (Active and Projected) one table shows the count of projects that were projected and the "Active" table will give the count of projects that are active. I would need to show a fraction of "number of projects in Active table" / "number of projects in Projected table" based on the slicer selections from "Client, Portfolio and Year".

 

I have pasted below the sample data along with the expected output... anyhelp on how to achieve this is highly appreciated.

 

Projected
ClientPortfolioNo of ProjectsYear
AMedical12019
AInsurance22019
AEducation12019
BMedical12020
BAutomobile32020
CPetroleum22020
CMedical12020
CEducation12020
AMedical12020
AInsurance12020
AEducation12020

 

Active
ClientPortfolioNo of ProjectsYear
AMedical12019
BMedical12020
CMedical12020
CEducation12020
AMedical12020
AInsurance12020
AEducation12020

 

Output: when year = 2020 (multi-select) and client = B and C then output should be 3/8. 

i.e. (sumf of projects in active table)/(sum of projects in Projected table).

Highlighted in yellow in below image.

 

AnthonyJoseph_0-1663265717460.png

Any help is highly appreciated.

 

Thanks,

AnthonyJoseph

1 ACCEPTED SOLUTION
tamerj1
Super User
Super User

Hi @AnthonyJoseph 

Client, Portfolio and Year should be independent dimension tables connected to both fact tables. Then simple DIVIDE of the SUM's shsll do the job. 

View solution in original post

1 REPLY 1
tamerj1
Super User
Super User

Hi @AnthonyJoseph 

Client, Portfolio and Year should be independent dimension tables connected to both fact tables. Then simple DIVIDE of the SUM's shsll do the job. 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors