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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Sept PBI Carousel

Power BI Monthly Update - September 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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