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.
Hi all,
I am struggling to get my income statement right. Here is the sample pbix file. https://drive.google.com/file/d/1ccoFO5LUpYd8zyouDX_3SxdKogKdTWiO/view?usp=sharing
I have a Data table, master and calendar tables.
Have created measures and used switch() to display calculated subtotals but it is not appearing. Also, the heirarchy is not right.
It should be -
Sales
Cost of Sales
Net Sales (measure created) = Sales - Cost of Sales
Could you pls review the pbix file and advise.
Hi,
I think The best way to go through the whole process is to start organizing and grouping your GL accounts by their category and then create your measures.
In your Model, if you need to use Net Sales Value as it is you will need to create a column in you Data Table
Regards
Amine Jerbi
If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook
Thanks @aj1973
I have created a column as you suggested and a measure for net sales value.
How can I make it appear on matrix row without using switch?
Well there is 2 ways to achieve your goal.
The first is to follow the video that @MattAllington attached(good video), the video is pretty much close to what you have as tables and columns in your Model.
My way however is different: I don't add columns nor Tables to the model. I only use the GL_transactions Table and a Calendar Table, I groupe the GL Accounts by their categories(Number then description) and i create measures for each group and Category. The reason : Measures don't take as much space in the Model as new Tables and Columns, they have better performance, easy to organize inside the Matrix(no need for Sort column), better performance in Power BI service and when it is Exported back from the service to Excel, at most the user will only need to transpose the columns rather than using Power pivot tables feature(in case some users don't know how to use Power Pivot). Also with measures you can build KPIs for Notifications in case there was a newly GL account added to the model, or to check the Balance if it is different than $0.
Sure my way is little longer way but better readable espacially when you name your measures correctly and accordingly.
Choose your way Pal,
Regards
Amine Jerbi
If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook
Hi @aj1973 even I have a G/L table entries only and i have made measures for each and every Header as @MattAllington mentioned in his video.
now challenge is I'm not able to make subtotal header.
Secondly i have a budget coming in excel format which i want to involve in the martix table and even for that i have made measures and when i put that total revenue measures in the matrix than it adds up in row level rather than column level.
hope you get it.
Hi @Anonymous
Not quite sure understood your request. However here is a video that could help "Maybe"
https://www.youtube.com/watch?v=neycI2arPbw
Let me know
Regards
Amine Jerbi
If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook
hi @aj1973
please check this request posted that I have posted ,if this makes you understand my problem.
How to indulge Budget in matrix visual in Income s... - Microsoft Power BI Community
@Anonymous
Just replied to your thread.
Regards
Amine Jerbi
If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook
My video here may help you https://exceleratorbi.com.au/build-a-pl-with-power-bi/
@MattAllington When i try to sort, the value of the measure changes. Pls advise.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
110 | |
94 | |
82 | |
66 | |
58 |
User | Count |
---|---|
151 | |
121 | |
104 | |
87 | |
67 |