DAX Date tables in power pivot and power bi

dicken

Active Member
Joined
Feb 12, 2022
Messages
292
Office Version
  1. 365
Platform
  1. Windows
Hi,
Can someone tell me if Powe pivot and Power Bi work differently in relation to date / Calendar Tables,
So if I have a meaure ;
Excel Formula:
 SUM(TslaesTable[Sales} )

and I use this in a pivot table which is just has Dates in the Rows, if i use the dates from the sales table I get what I would expect the sales
for that date, but if I use the dates from the Calendar table ( yes they are related) I just get the grand total of sales.
I've done exactly the same in power bi, and both calendar and sales dates get the right answer.
I'm never sure about calendar tables, yes I know I need one for time intel functions, is there a definitive guide to their use someone can point me to.

Richard.
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
To update my own question, I have since replicated what I had and now the totals work fine with the dates from the Calendar table,
so now the question becomes what might I have been doing to make it that none of the measure worked with the date table?
 
Upvote 0

Forum statistics

Threads
1,224,818
Messages
6,181,152
Members
453,021
Latest member
Justyna P

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