Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
Hi,
What is a good way to present data like below:
The data will be comparitive analaysis kinds.
Regards
Malvika
Solved! Go to Solution.
Hi! You could use a matrix and have the years and months from your date table in on columns, Account in for rows and the measures you want in values.
For example, if you wanted to show your sales YoY% you could make a measure for sales:
Sales = SUM('YourTable'[SalesField])
Then, create a measure for YoY% (below assumes you have a date dim table marked as date table):
Proud to be a Super User! | |
Hi,
Thanks for this. I haven't ever used formulas in Power BI. Any easy alternate approach?
Regards
Malvika
In fact, if you're just looking at generic display data, then the automatic aggregation provided by Power BI Matrix is sufficient, and you don't need formulas or code. However, if you want to compare data from different years, it is essential to write a measure in DAX or a custom column in M-code in Power query.
It is worth noting that Excel can easily compare data from different years, and there is no need to use formulas and codes, if you can, you can also try it.
Best Regards
Zhengdong Xu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi! You could use a matrix and have the years and months from your date table in on columns, Account in for rows and the measures you want in values.
For example, if you wanted to show your sales YoY% you could make a measure for sales:
Sales = SUM('YourTable'[SalesField])
Then, create a measure for YoY% (below assumes you have a date dim table marked as date table):
Proud to be a Super User! | |
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 56 | |
| 39 | |
| 35 | |
| 19 | |
| 17 |
| User | Count |
|---|---|
| 73 | |
| 70 | |
| 37 | |
| 35 | |
| 26 |