Forum Discussion
how to use Calculate function in combination with values function
- 6 years ago
Hi Anno2019
Use SUMMARIZE('MainTable', 'MainTable'[Customer Name]) will create a new table with just the customers in. You can then add separate calculated columns to replace the measures you have. If you need to you can add aggregations in the SUMMARIZE. It will make that statement more complicated to follow. I like breaking things out into separate calculated columns so you can test each individual DAX statement.
See how you get on, if you get stuck let us know
Thanks, Brian
My data has over 100 000 lines.
Ok, so aggregated calculated table, have not explored that yet.
I run through a video on how to.
Hi Anno2019
Use SUMMARIZE('MainTable', 'MainTable'[Customer Name]) will create a new table with just the customers in. You can then add separate calculated columns to replace the measures you have. If you need to you can add aggregations in the SUMMARIZE. It will make that statement more complicated to follow. I like breaking things out into separate calculated columns so you can test each individual DAX statement.
See how you get on, if you get stuck let us know
Thanks, Brian