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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
talhaparvaiz
Helper I
Helper I

Matrix calculation based on different fields

Hi,

 

I am using matrix to display our survey results.

As you can see from the snapshot below, I am able to summarize results by applications where our survey responders provided the feedback. 

 

Now, I want to show the survey feeback against the total number of app users (this is to mainly determine the percentage of survey respondents against the actual application users) . Please advise how to achieve it

 

 

 

talhaparvaiz_1-1616949795968.png

 

Here is the table structure for the reference.

 

talhaparvaiz_2-1616950152563.png

 

thanks

 

 

 

 

 

 

 

4 REPLIES 4
Anonymous
Not applicable

HI @talhaparvaiz 

Create a new measure

_pcnt = Count(table[respondent id])/Average(table[total Users])

This should give you the expected output.

 

If it doesn't, Please share details aboy below fields like DAX statement, Summarization level.

pranit828_0-1616954769165.png

 

Is there a website where I can share my powerBI file for your review and feedback.

 

Thanks

Anonymous
Not applicable

HI @talhaparvaiz,

I'd like to suggest you write a measure with summary function and add raw categories, then you can add the second aggregate function to calculate with the raw result:

Measure =
SUMX (
    SUMMARIZE (
        Sheet1,
        [Application_Name],
        [Attribute],
        [Business Division],
        [Value],
        "rate", DISTINCTCOUNT ( Sheet1[Respondent_ID] ),
        "total", VALUE ( MIN ( Sheet1[Total_Users] ) )
    ),
    [Rate] / [total]
)

Regards,

Xiaoxin Sheng

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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