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

Shape the future of the Fabric Community! Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions. Take survey.

Reply
vkarthik21
Frequent Visitor

Adding Measure as dimension to existing group

I have the following data - 

 

ProductName,State,City,GST,Amount,Quantity
iPhone,Andhra Pradesh,Guntur,5,100,30
iPhone,Karnataka,Bangalore,10,80,20
Samsung,Andhra Pradesh,Guntur,5,75,10
Samsung,Karnataka,Bangalore,10,80,10
Xiaomi,Andhra Pradesh,Guntur,5,50,10
Xiaomi,Karnataka,Bangalore,10,30,5

 


I need to develop a matrix report with State, City as Rows and Amount, Quanity as Columns.  

On top of each sub group total at State level, GST row should appear and a new calculated measure Gross Total should come.

 

For example, say for Andhra Pradesh, the total Amount is  225, GST is 15, hence Gross would be = 225 + 15 = 240. 

 

Here is the output that I am expecting - 

 

PowerBI-Excepted-Output.png

 

Is this do-able? I have looked at the option of creating new dynamic table under City category but that would not give me the option for GST Total. Another way I wanted to approach the problem is by unpivoting on GST, State and try creating a join between the resultant table and 'State' table (derived automatically) but I am not able to formulate how to do. Am little new to Power BI. Could you kindly guide me how to do? 

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

Hi @vkarthik21,

 

Based on my test, it is not possible to meet your requirement currently. You can come up a new idea about that and add your comments there to improve Power BI and make this feature coming sooner.

 

Regards,

Frank

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

View solution in original post

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

Hi @vkarthik21,

 

Based on my test, it is not possible to meet your requirement currently. You can come up a new idea about that and add your comments there to improve Power BI and make this feature coming sooner.

 

Regards,

Frank

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

Thanks Frank for the update. Figured that would be the case. Now need to see if we can rejig the reporting requrirement.

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

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

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.