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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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