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 guys,
If I have a data table like below,
How can I create a new column (below DESIRED COLUMN) which is calculated by Value grouped by Company's page no as an average. for each row.
How can get Average of Value for each page. returning value must be in every its row.
I wrote this dax but It returned average of Page no?!
But it returns same value for all rows.
| Compnay | Page No | Value | DESIRED COLUMN |
| A | 2 | 30 | 35 |
| A | 2 | 40 | 35 |
| B | 2 | 30 | 40 |
| B | 2 | 40 | 40 |
| B | 3 | 50 | 40 |
| C | 1 | 10 | 15 |
| C | 1 | 20 | 15 |
| C | 3 | 20 | 15 |
| C | 3 | 10 | 15 |
Solved! Go to Solution.
Make Calculated Column I hope this will resolve the issue
Thank you four you answer @mh2587 ,
I need these average value in all rows as a new column.
And also I have more than 70 company names, so I need more simple DAX.
Kind regards...
Make Calculated Column I hope this will resolve the issue
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 |
|---|---|
| 53 | |
| 35 | |
| 31 | |
| 19 | |
| 17 |
| User | Count |
|---|---|
| 75 | |
| 72 | |
| 39 | |
| 35 | |
| 23 |