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 August 31st. Request your voucher.

Reply
amalm
Helper III
Helper III

Scripting in R: Show a simple matrix visual with filters?

Hi, 

I'm just getting started with R, and I can't find a resource for this:

I want to basically build the same exact functionality as the Matrix visual in Power BI, and add some filters to it. 

 

There are 2 columns in the "Rows" section, and 4 Sums of columns in the "Values" section. Appreciate it if someone can give me a code for this. 

 

I've installed R and R Studio, even played around with a few packages but I couldn't get what I want.

2 REPLIES 2
v-frfei-msft
Community Support
Community Support

Hi @amalm ,

 

Hope the online document can help you.

https://docs.microsoft.com/en-us/power-bi/desktop-r-visuals

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

@v-frfei-msft 

Thanks for the reply, but I had already gone through the document. It doesn't provide the script for a simple table, and I'm not able to figure it out from that. 

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.

Top Solution Authors