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
fbostan1
Helper I
Helper I

SQL Help

Any help would be appreacited. I am new in SQL and I'm trying to write a sql query from table1 to give me the result in table 2

Table1: 

fbostan1_0-1649432902564.png

Table2: 

fbostan1_1-1649432923529.png

 

1 ACCEPTED SOLUTION
v-henryk-mstf
Community Support
Community Support

Hi @fbostan1 ,

 

This result can be quickly achieved by using matrix visual in powerbi desktop, refer to the following screenshot.

vhenrykmstf_0-1649750674633.png

vhenrykmstf_1-1649750704412.png

 


If the problem is still not resolved, please provide detailed error information and let me know immediately. Looking forward to your reply.


Best Regards,
Henry


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

2 REPLIES 2
v-henryk-mstf
Community Support
Community Support

Hi @fbostan1 ,

 

This result can be quickly achieved by using matrix visual in powerbi desktop, refer to the following screenshot.

vhenrykmstf_0-1649750674633.png

vhenrykmstf_1-1649750704412.png

 


If the problem is still not resolved, please provide detailed error information and let me know immediately. Looking forward to your reply.


Best Regards,
Henry


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

amitchandak
Super User
Super User

@fbostan1 , Use Matrix Visual Velocity at row , column at column and sales as value

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

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Top Solution Authors