Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi Team,@amitchandak,@valtteriN
Greetings for the day,
I have all cogs,revenue values in column and with respect to that I need to calculate GM.
But the view of report should be in row wise,
Solved! Go to Solution.
Hi @sajjadkhan25 ,
Is this above you want ?
You can use unpivot in power bi query. Select date column then unpivot other column.
And the result as below.
Then in matrix table, add [NATURES] to rows will get the result.
Or show on rows, in the format of matrix table, search show on rows as following:
If i misunderstood you, please share some sample data and expect result.
Best Regards
Community Support Team _ chenwu zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@sajjadkhan25 , 1. Show on row in matrix
There is a video from Curbal, very recently, how to deal with financial statement, check that out
this take advantage of few features or excel and power bi
Hi @amitchandak sir,
actaully the solution what i want is, in the form of
NATURES ACTUAL/BUDGET
Revenue 70
COGS 50
Standard Allocation 10
GM 10
GM% 0.33%
but the way i have data is in form of,
Date COGS REVENUE STD ALLOC
1/8/2020
Client is not okay with unpivot has it will increase number of rows so please help me how shall i give the desired output.
Thanks,
Sajjad
Hi @amitchandak sir,
actaully the solution what i want is, in the form of
NATURES ACTUAL or BUDGET
Revenue 70
COGS 50
Standard Allocation 10
GM 10
GM% 0.33%
but the way i have data is in form of,
Date COGS REVENUE STD ALLOC
01-08-2020 50 70 10
Client is not okay with unpivot has it will increase number of rows so please help me how shall i give the desired output.
Thanks,
Sajjad
Hi @sajjadkhan25 ,
Is this above you want ?
You can use unpivot in power bi query. Select date column then unpivot other column.
And the result as below.
Then in matrix table, add [NATURES] to rows will get the result.
Or show on rows, in the format of matrix table, search show on rows as following:
If i misunderstood you, please share some sample data and expect result.
Best Regards
Community Support Team _ chenwu zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 98 | |
| 72 | |
| 50 | |
| 50 | |
| 43 |