Creating Measures in Power Pivot -

scpournara

New Member
Joined
Aug 24, 2014
Messages
45
First time Power Pivot User and very close! The pivot table works perfectly. Now I need help in creating measures in Power Pivot. In need to create 6 Measures: PrevMTD, CurrentMTD, %VMTD and PrevYTD, CurrentYTD, and %V YTD. The data is in the Data model with 3 Tables: Data Table, Month Table and Year Table. I have already created a measure for Total Sales and am trying to use the Calculate function to create these measures? Can anyone help?
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
The easiest way is to use the Time Intelligence functions within DAX. You can write them yourself, but these take the hard work out of it. These links should help:

A good introduction,
Microsofts Reference

Its worth reading (essential if you're new to this) Rob Collie and Avichal Singh's book 'Power Pivot and Power BI'.

HTH
 
Upvote 0

Forum statistics

Threads
1,223,790
Messages
6,174,600
Members
452,574
Latest member
hang_and_bang

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top