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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Esong2023
Frequent Visitor

How can get % using pre-calculated denominator

I have a member log by company and the total N per company is pre-calculated.

Member IdProgram AttendedCompany Total Employees (Denominator)Company
1Yes100A
2No100A
3Yes200B
4No200B
5No200

B

From this table, I want to calculate % of attendance per company.  Like, Sum(attended member count)/Company Denominator.

How can I do this? I can't get the fixed pre-calculated denomination in the new measure calculation.  

1 ACCEPTED SOLUTION
bhanu_gautam
Super User
Super User

@Esong2023 , this are parameters, and you can select numeric range under Parameter , than you can provide any numeric value into it that can be your company denominator

 

And for the formula you mentioned Sum(attended member count)/Company Denominator. In this instead of Company Denominator you can select parameter value which is higlighted in below snip

 

bhanu_gautam_0-1701708272535.png

 




Did I answer your question? Mark my post as a solution! And Kudos are appreciated

Proud to be a Super User!




LinkedIn






View solution in original post

3 REPLIES 3
bhanu_gautam
Super User
Super User

@Esong2023 , this are parameters, and you can select numeric range under Parameter , than you can provide any numeric value into it that can be your company denominator

 

And for the formula you mentioned Sum(attended member count)/Company Denominator. In this instead of Company Denominator you can select parameter value which is higlighted in below snip

 

bhanu_gautam_0-1701708272535.png

 




Did I answer your question? Mark my post as a solution! And Kudos are appreciated

Proud to be a Super User!




LinkedIn






bhanu_gautam
Super User
Super User

Hi @Esong2023 , you can use parameters here and create dax using that dynamic parameter , 

So, you can select any value and your output will be automatically updated as per that,

 

You can find parameter under modelling tab,

 

Let me know in case any other help required,

 

And if this resolves your query please accept it as solution




Did I answer your question? Mark my post as a solution! And Kudos are appreciated

Proud to be a Super User!




LinkedIn






Thanks for your response @bhanu_gautam ! I am new to Power BI, not sure how to use DAX or what is DAX. 

 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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