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.
Hello everyone!
I am making a report, in which I have 4 columns of forecasts (week 40, 41,42,43) and I must create a new column with DAX that allows to average these 4 columns.
The result is that the new column each row that has been the average of the previous ones.
Stay tuned! Thanks a lot
Solved! Go to Solution.
Hi @CLCastroEn ,
First create an index column,then select the 4 week columns>unpivot;
Then create a matrix,right click on the value field>average:
And you will see:
For the related .pbix file,pls see attached.
Best Regards,
Kelly
Did I answer your question? Mark my post as a solution!
Hi @CLCastroEn ,
First create an index column,then select the 4 week columns>unpivot;
Then create a matrix,right click on the value field>average:
And you will see:
For the related .pbix file,pls see attached.
Best Regards,
Kelly
Did I answer your question? Mark my post as a solution!
You should unpivot your week columns in the query editor. It will simplify your analysis. If you provide example starting data and desired output, a specific expression can be suggested.
Regards,
Pat
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
Hi @CLCastroEn ,
Can you share some sample data around your problem and what the expected output please?
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 |
---|---|
113 | |
97 | |
85 | |
70 | |
61 |
User | Count |
---|---|
151 | |
121 | |
104 | |
87 | |
67 |