cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
fbostan1
Frequent Visitor

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



Power BI Features || Datamarts: https://youtu.be/8tskWsJTEpg || Field Parameters : https://youtu.be/lqF3Wa1FllE?t=70
Time Intelligence Decoded : https://youtu.be/aU2aKbnHuWs&t=145s || 50+Power Query List Functions : Learn Power Query List
Did I answer your question? Mark my post as a solution! Appreciate your Kudos !! Proud to be a Super User! !!
Dashboard of My Blogs !! Connect on Linkedin !! Subscribe to my youtube Channel !!
Want To Learn Power BI | Beginners !! Advance Concepts !! Power BI For Tableau User !!

Helpful resources

Announcements
September Update

Check it Out!

Click here to learn more about the September 2022 updates!

Power BI Dev Camp Session 26

New Date - Check it Out!

Mark your calendars and join us on Thursday, October 6 at 11a PDT for a great session with Ted Pattison!

Top Solution Authors