Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
PeteSmith6730
Frequent Visitor

Excel Cubset formulae versus Powerpivot measure

Hi guys I'm a newbie to forum and to power pivot. Cracking tech and going through a chunky learning curve.

As FD/CFO of a motor dealer group I am re-drafting our management accounts with power pivot and Excel 2016.

 

I am using plenty of cubevalue formulae to get my data from the cube and all is going pretty well on the prototype.

(Pivot tables not really suitable to get the right presentation)

There are however a lot of kpis (business meaning, not powerpivot) which need to be put into the spreadsheet.

My fact table (the one with the ledger amounts) has all monetary amounts and stats in same column distinguished by 2 measures summing Money and Stats. I have then created a measure Divide([Money],[Stats]) as a generic measure to work out per units of various elements of the profit. This measure is then reworked into multiple measures to manage time (YTD,LYTD) and variances.

 

Then in spreadsheet I have derived cubesets to shrink the data down to that which is necessary to make the measure work properly. All is working fine, albeit the getting data refresh is taking a little time.

 

An alternative way to do what I'm attempting here would be to create multiple measures Divide(Calculate([Money],LedgerCategories.[Cat01] = "Model Gross"),[Stats), Divide(Calculate([Money],LedgerCategories.[Cat01] = "Accessory Gross"),[Stats]) etc and just reference each measure separately in the cube formula, rather than measure and cubeset.

 

So technical question is which option would give me a faster, more efficient spreadsheet:

1. A simple measure with a series of Excel derived cubesets. (MDX code in a cell, referenced by a cubeset formula).

2. Multiple measures in the model, referenced with simpler Cubevalue formulae.

 

Whichever way I go here I either have a lot of cubset MDX to derive or a lot of measures to derive, so if I know in advance which is the optimum approach that would be really helpful.

 

Looking forward to your advise.

 

Pete

 

 

 

1 ACCEPTED SOLUTION
v-chuncz-msft
Community Support
Community Support

@PeteSmith6730,

 

From my perspective, the first approach might be better as it is much more flexible.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-chuncz-msft
Community Support
Community Support

@PeteSmith6730,

 

From my perspective, the first approach might be better as it is much more flexible.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.