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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

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
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.