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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
Error1004
Regular Visitor

Opening Balances functions returns (Blank)

Hallo guys,

 

All opening balances (Month, Quarter & Year) functions return (Blank) BUT:

 

  • All other Time intelligence functions such as MTD, QTD, YTD & PY work fine.
  • Date column in dimension & fact tables are type: Date
  • Time dimension includes all dates

 

Time table & Time hierarchy structure:

Error1004_1-1699529397366.png

Error1004_2-1699529525279.png

 

Matrix visual:

Error1004_0-1699530093758.png

Calculations:

  • OB Month = OPENINGBALANCEMONTH(SUM(FctTransactions[Units Sold]),DimTime[Date])
  • OB Quarter = OPENINGBALANCEQUARTER(SUM(FctTransactions[Units Sold]),DimTime[Date])
  • OB Year = OPENINGBALANCEYEAR(SUM(FctTransactions[Units Sold]),DimTime[Date])
 

Any idea what I m missing? Any help will be greatly appreciated!

 

4 REPLIES 4
some_bih
Super User
Super User

Hi @Error1004 please share file to check details





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!






Hi @some_bih please find attached the files. 

 

https://www.dropbox.com/scl/fi/r626m91nalkh2vehgdu1q/Financial-Sample.xlsx?rlkey=ola0yml7k0ec05b3lqn...

 

https://www.dropbox.com/scl/fi/659as8yg47czj41vdxo1x/Test.pbix?rlkey=w2zyxf5ze8g99cbn8e6g74c98&dl=0

 

Have in mind that i have modify the calculation to use the date from the fact table and is wokring. However to dont manage to use the date from the dimension table.

 

some_bih
Super User
Super User

Hi @Error1004 try following: create measure

1. UnitSold_asMeasure=SUM(FctTransactions[Units Sold])

2. OB Month measure = OPENINGBALANCEMONTH([UnitSold_asMeasure],DimTime[Date])





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!






Hi @some_bih really appreciate your answer but i have also try this without any luck.

 

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.