DAX Date tables in power pivot and power bi

dicken

Active Member
Joined
Feb 12, 2022
Messages
283
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

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
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,215,381
Messages
6,124,614
Members
449,175
Latest member
Anniewonder

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