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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
abc_777
Super User
Super User

need to understand

Dear Concern,

 

I have a very simple query to understand

 

when i create a global calendar then using

PARALLELPERIOD(
BMCalendar[Date],
-1,
MONTH
 
My query is when i change global calendar to my sale data base calend which is SaleDate then nothing is showing
why. what is main reason to creat global calendar why not work my sales database saledate table
 
PARALLELPERIOD(
SaleDate,
-1,
MONTH
3 REPLIES 3
v-kkf-msft
Community Support
Community Support

Hi @abc_777 ,

 

Does your problem have been solved? If it is solved, please mark a reply which is helpful to you.

 

If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.

 

Best Regards,
Winniz

v-kkf-msft
Community Support
Community Support

Hi @abc_777 ,

 

In my sample data, I created the following measures, and they all returned the correct results.

PARALLELPERIOD_BM = 
CALCULATE(
    SUM(BMCalendar[value]),
    PARALLELPERIOD( BMCalendar[Date], -1, MONTH)
)
PARALLELPERIOD_Sale = 
CALCULATE(
    SUM(SaleDate[Sales]),
    PARALLELPERIOD( SaleDate[Date], -1, MONTH )
)

 image.png

 

I think we get different results because of different calculation contexts. Could you please share your sample data and models? That can help us find the cause faster. 

 

Best Regards,
Winniz

StefanoGrimaldi
Resident Rockstar
Resident Rockstar

hey, 

its a good practice and performance topic here, for little model and simple models you wont see much of a impact but as the tablas, data, complexity growth you can end up with some ugle babies data model, making refresh slow, visuals slow, ineficient, and impact user experience for the reports, also its better for building datasets with several tablas using dates, 

1) basically you turn off the in build date model for each table from the report option

2) configure a dimensianal table for managing dates

3) relantionship between them

 

this will make making report easier, and over time will keep your model simplier and with better performance

doing this its something the diferrence between a 1GB or 10GB dataset convert it down to 1MB dataset, and isnt exagerating the case !!!

guys in a cube show a greate video about these and overral experience and creating this type of tables:  https://www.youtube.com/channel/UCFp1vaKzpfvoGai0vE5VJ0w 

 

if this helped give some kudos and mark as solution for others to find.





Did I answer your question? Mark my post as a solution! / Did it help? Give some Kudos!

Proud to be a Super User!




Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors