sql-bi / Bravo

Bravo for Power BI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Crash when trying to add time intelligence on a measure that sums values from two other measures

Eiriksra opened this issue · comments

Describe the problem

Error HTTP/500: Internal Server Error.
Failed to save modifications to the server. Error returned: 'The value for 'Margin YTD' cannot be determined. Either the column doesn't exist, or there is no current row for this column.
The value for 'Item Sales Amount (LCY) YTD' cannot be determined. Either the column doesn't exist, or there is no current row for this column.
The value for 'Margin YTD' cannot be determined. Either the column doesn't exist, or there is no current row for this column.
The value for 'Net Sales LCY YTD' cannot be determined. Either the column doesn't exist, or there is no current row for this column.
The value for 'Margin YTD' cannot be determined. Either the column doesn't exist, or there is no current row for this column.
The value for 'Net Sales LCY YTD' cannot be determined. Either the column doesn't exist, or there is no current row for this column.
A circular dependency was detected: DateAutoTemplate[DateAutoTemplate], Sales Headers[RecoveredDates], Date[Date], Date[Date][Date], Date[Date], DateAutoTemplate[DateWithTransactions], DateAutoTemplate[DateWithTransactions][DateAutoTemplate], DateAutoTemplate[DateAutoTemplate].
'.

Bravo version

1.0.4 (1.0.8577.19837)

Tabular model

Power BI Desktop, import mode

Power BI

Power BI Desktop version June 2023

Steps to reproduce the behavior

No response

Additional context

No response

Screenshots

image

Anything else ?

Trace Id: 00-0e4b6bfd0679b3105331d909ea336b2d-628175af55dcfa07-00

Hi @Eiriksra! Unfortunately I'm not able to reproduce this issue. Are you able to share a sample PBIX model with some dummy data that shows this issue? If you prefer to share them privately, feel free to email me here alberto.spelta@sqlbi.com.

@Eiriksra looks like you replied via an e-mail.
Unfortunately attachments are not included when replying by mail, so I can't view the PBIX model.
Could you please reply on the original GitHub thread instead? Thank you!

@albertospelta - I'm sorry but I'm a github newbie at best. Where do I attach a file on here? And can I be sure it goes to SQLBI only?

@Eiriksra if you want to share it privately please don't use GitHub but instead create a new email and send it to my SQLBI address alberto.spelta@sqlbi.com

Hi @Eiriksra, unfortunately I'm not able to reproduce the error using the PBIX model you sent me.
Would you mind letting me know what kind of calendar template (e.g. Standard, Monthly,...) you used?
Did you use the default configuration or did you set a custom configuration for the Interval/Dates/Holydays/TimeIntelligence params?

@Eiriksra your changes for Icelandic holidays has been applied and released in version 1.0.5, thanks for your contribution!

Hi @Eiriksra, as I mentioned in my last email we were unable to reproduce the error on our end nor find the circular dependency error shown in the error message you shared - I just tested your PBIX and it worked as expected.

image

Could you tell us what are the exact steps to reproduce the error using the PBIX file you sent us?

Hi @Eiriksra you are right, it is a bug in version 1.0.5. I have a fix checked in that will be part of the next release but in the meantime you can use the latest internal build - just change the update channel from stable to dev in the options\about panel and follow the link to download the installer.