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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.