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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Derva
New Member

Showcase total amount of times a question has been answered

Hi There,

 

Currently my matrix looks like the top example, whereas the questions are in the rows and the years in the columns.

Derva_1-1657619538415.png

I'd only like to create a column that showcases the total amount of times a question has been answered per year, see bottom example. So you first see the N (total amount of x question has been answered), then that year's score. Same for the previous year.

 

I was hoping that this would work and would stack in the columns but it does not even allow me to add it to the columns.

n = CALCULATE(COUNTROWS('Table Test v1_1'))
 
Thanks in advance!

 

1 ACCEPTED SOLUTION
v-yiruan-msft
Community Support
Community Support

Hi  @Derva ,

I created a sample pbix file(see attachment) for you, please check whether that is what you want. You can put the measure on Values option of the matrix visual:

yingyinr_0-1657865400700.png

If the above one can't help you get the desired result, please provide some sample data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.

How to upload PBI in Community

Best Regards

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-yiruan-msft
Community Support
Community Support

Hi  @Derva ,

I created a sample pbix file(see attachment) for you, please check whether that is what you want. You can put the measure on Values option of the matrix visual:

yingyinr_0-1657865400700.png

If the above one can't help you get the desired result, please provide some sample data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.

How to upload PBI in Community

Best Regards

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.