Hi all
I am new to PowerPivot and data models, and I am querying an SSAS cube in a PowerPivot data model. I have a problem with duplicate names inflating figures. The duplicates come from a Project Server SSAS cube.
<tbody>
[TD="width: 76"] £500 [/TD]
[TD="width: 52"] 2 [/TD]
[TD="width: 210"] 1004 - Sub Project [/TD]
[TD="width: 76"] £200 [/TD]
[TD="width: 52"] 3 [/TD]
[TD="width: 210"] 1004 - Sub Project with same name as Parent Project [/TD]
[TD="width: 76"] £300 [/TD]
</tbody>Rows 2 and 3 are both sub projects that make up the whole project that is totalled up in row 1. However, when looking a the results in PowerPivot, the model is adding all these three rows separately, producing a total figure of £1000.
How can I get the model to a)recognise the hierarchy from Project Server. it does if querying the cube directly in excel into a pivot chart but not in a PowerPivot model.
Is there a DAX or MDX calculation I can use to only select or count the highest figure of any duplicates rows with the same name?
I understand it's a pretty complex question but hoping someone can help.
Thanks in advance.
Harry
I am new to PowerPivot and data models, and I am querying an SSAS cube in a PowerPivot data model. I have a problem with duplicate names inflating figures. The duplicates come from a Project Server SSAS cube.
Row | Project Name | Cost |
1 | 1004 - Parent Project | |
<tbody>
[TD="width: 76"] £500 [/TD]
[TD="width: 52"] 2 [/TD]
[TD="width: 210"] 1004 - Sub Project [/TD]
[TD="width: 76"] £200 [/TD]
[TD="width: 52"] 3 [/TD]
[TD="width: 210"] 1004 - Sub Project with same name as Parent Project [/TD]
[TD="width: 76"] £300 [/TD]
</tbody>
How can I get the model to a)recognise the hierarchy from Project Server. it does if querying the cube directly in excel into a pivot chart but not in a PowerPivot model.
Is there a DAX or MDX calculation I can use to only select or count the highest figure of any duplicates rows with the same name?
I understand it's a pretty complex question but hoping someone can help.
Thanks in advance.
Harry