Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
I would like to create variance but my data stored in rows instead of columns. previously in Ms Excel was easy to create a pivot and make a calculation using different column.
in PowerBI I have 1 row for revenue and 1 row for cost. I would like to create the margin using the revenue-cost formula, but im not aware what would be the easiest and calc view the fastest way to create it? where should I look at it?
please note:
Im a rookie in PowerBI
Hi. I don't think you should work like that at all. You can transform your data in Power Bi to work with columns instead of rows because power bi works with columns.
Try unpivot like this post showing both actions:
https://databear.com/power-bi-pivot-and-unpivot-columns/
Then you can work with columns again. I don't recommend working with rows.
Regards,
Happy to help!
Hi @Anonymous
there are Pivot and Unpivot functions in Power Query Editor mode
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
147 | |
85 | |
66 | |
52 | |
46 |
User | Count |
---|---|
215 | |
90 | |
83 | |
66 | |
58 |