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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Bug using selectedvalue within calculation group

I am trying to use function "Selected value" pointing to an Calculation Group/calculation Item and it usually works very well, but when I have a Calcuation Item that has more than one call to "Selectedmeasure()" on his calculation the functino Selected Value doesn't work.

Seems like there is a bug using calculation item when we have more than one calculation

 

For example = 

Calculation item = calculate(selectedmeasure(), column1= "xxx") - It works very well and if we create a new metric point to "selectedvalue(calculation_group[group]) it will return the "calculation item" value

Calculation item 2 = calculate(selectedmeasure(), column1= "xxx")  +  calculate(selectedmeasure(), column1= "yyy") - The value will be ok, but if we try to point an other metric using Selectedvalue it will return an error but it should return "Calculation item 2" anyway. 

I tryied different ways to do that but I found this mistake when using any other function (like plus, minus, divide etc)

I am trying to workaround this problem, but I need to create a calculation inside my calculation_item to get a delta comparing two other calculation itens. Does anyone already found this problem or even a solution?

Status: New