Skip to content

Error when returning custom global optionset from If statement in PowerFx #299

@mkholt

Description

@mkholt

Describe the bug
A formula field with the formula If(TableName.'TableField', Boolean.Ja, Boolean.Nej), where Boolean is a custom global choise, should verify the value of TableField and return one of the values from Boolean.

Throws exception: global_amp_boolean isn't recognized (amp is publisher prefix)

Expected behavior
The choice value should be returned

Screenshots
Image

Environment

  • Tool version: 1.17.2

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions