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 there
So I want to show values on a chart for current year and previous year. I don't have a problem getting this right, and set up measure called "Sales Current Year", "Sales Prior Year". My concern is that I have to do this for each value I have. So I might have Cost of Sales, GP, Qty etc etc. So basically you then get a pretty big explosion of measures.
Furthermore, if I then want to show cumulative amount, this leads to further permutions. Very soon I can end up with a huge number of fields eg:
Sales Value
Sales Value Current Year
Sales Value Prior Year
Sales Value Current Month
Sales Value Current Month Cumul
etc, etc
Am I missing something? Is there a more effective way of handling this?
Many thanks!
Regards
Chris
Solved! Go to Solution.
@Anonymous -
The issue is that you actually need all of those measures, so they must be created.
A couple of potential approaches:
1. You can organize your measures with Display folders.
2. If reducing the number of measures is a high priority, it is possible to re-use the same measure to display different metrics. To do this:
-Create an unrelated Parameter table which specifies which metric you are analyzing. For example, let's say you have only, Sales and Qty. You could filter on this parameter.
-Have a measure called Value, which calculates Sales or Qty depending on your selection.
-Build other measures off of the base measure.
There are some potential issues with #2:
1. All values will have a shared formatting
2. Performance could suffer
3. The measure names will be less descriptive
Hope this helps,
Nathan
@Anonymous -
The issue is that you actually need all of those measures, so they must be created.
A couple of potential approaches:
1. You can organize your measures with Display folders.
2. If reducing the number of measures is a high priority, it is possible to re-use the same measure to display different metrics. To do this:
-Create an unrelated Parameter table which specifies which metric you are analyzing. For example, let's say you have only, Sales and Qty. You could filter on this parameter.
-Have a measure called Value, which calculates Sales or Qty depending on your selection.
-Build other measures off of the base measure.
There are some potential issues with #2:
1. All values will have a shared formatting
2. Performance could suffer
3. The measure names will be less descriptive
Hope this helps,
Nathan
Hi Nathan
Much appreciated!
Regards
Chris
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 |
---|---|
114 | |
100 | |
83 | |
70 | |
61 |
User | Count |
---|---|
149 | |
114 | |
107 | |
89 | |
67 |