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

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.

Reply
vjnvinod
Impactful Individual
Impactful Individual

Help with Measure

Dear all,

Below is my table visual in power BI desktop.

I am looking for a measure which can calculate the desire count based on multiplying"Target" to "Total of Projected FY21 Closing HC"

for eg

5.50%*1494=82.17 (See below the output table as well)

Target is a coloumn and "Total of Projected FY21 Closing HC" is Measure in my model

 

Capture.PNG

 

 

Output table

RankProjected FY21 Closing HCTargetDesired Count
Partner/Principal605.50%82.17
Executive Director3411.00%164.34
Senior Manager1633.30%49.302
Manager15016.50%246.51
Senior72333.00%493.02
Staff/Assistant36430.70%458.658
 1494 1494
1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @vjnvinod ,

Sorry for delay. When I click the file URL, I got the error information "Sorry, the file you have requested does not exist.". Could you please share the file again by OneDrive for Business? Thank you.

Share OneDrive files and folders

In addition, please try to create a measure as below and check whether it can work in your scenario or not.

Measure =
VAR _tab =
    ADDCOLUMNS (
        CALCULATETABLE ( VALUES ( 'Table'[Rank] ), ALL ( 'Table'[Rank] ) ),
        "PFY21CHC", [Projected FY21 Closing HC]
    )
VAR _tempHC = [Projected FY21 Closing HC]
RETURN
    SUMX ( FILTER ( _tab, [PFY21CHC] = _tempHC ), [PFY21CHC] ) * [Target]

Best Regards

View solution in original post

7 REPLIES 7
VijayP
Super User
Super User

@vjnvinod  you can use this pbix

 




Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
MY Blog || My YouTube Channel || Connect with me on Linkedin || My Latest Data Story - Ageing Analysis

Proud to be a Super User!


vjnvinod
Impactful Individual
Impactful Individual

@VijayP 

 

thanks for this, this is not helping as well

because Projected FY21 Closing HC is a measure and below is how i have calculated the measure, its calculated using different tables

 

Projected FY21 Closing HC = [Latest HC]+[Preboarding Pipeline]+[Additional approved Exp Hire]+[Additional Approved Graduate]-[Confirmed Exists]-[Exit Pipeline]
amitchandak
Super User
Super User

@vjnvinod , A new column if [Closing HC Target] is a column

 

sum(Table[Projected FY21]) * [Closing HC Target]

 

A new measure if [Closing HC Target] is a measure

calculate(sum(Table[Projected FY21]), all(Table)) * [Closing HC Target]

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

@amitchandak 

 

Note Projected FY21 Closing HC is a "Measure"

Projected FY21 Closing HC = [Latest HC]+[Preboarding Pipeline]+[Additional approved Exp Hire]+[Additional Approved Graduate]-[Confirmed Exists]-[Exit Pipeline]
 
and Target is a coloumn
 
I am not able to use your solution because Projected FY21 Closing HC is a measure
vjnvinod
Impactful Individual
Impactful Individual

vjnvinod
Impactful Individual
Impactful Individual

@amitchandak 

All, let me know if its difficult to achieve, as i am not able to find any solution

 

https://drive.google.com/file/d/109YRdkB2STFy4w7DADMqtsJresM5SACs/view?usp=sharing

Anonymous
Not applicable

Hi @vjnvinod ,

Sorry for delay. When I click the file URL, I got the error information "Sorry, the file you have requested does not exist.". Could you please share the file again by OneDrive for Business? Thank you.

Share OneDrive files and folders

In addition, please try to create a measure as below and check whether it can work in your scenario or not.

Measure =
VAR _tab =
    ADDCOLUMNS (
        CALCULATETABLE ( VALUES ( 'Table'[Rank] ), ALL ( 'Table'[Rank] ) ),
        "PFY21CHC", [Projected FY21 Closing HC]
    )
VAR _tempHC = [Projected FY21 Closing HC]
RETURN
    SUMX ( FILTER ( _tab, [PFY21CHC] = _tempHC ), [PFY21CHC] ) * [Target]

Best Regards

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.