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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
Anonymous
Not applicable

Divide function changes value

When I use the following measure it shows correct value, 1.50 (the same value in table from where I read data )

 

 

Measure1:=  
                 LOOKUPVALUE('Table1'[column1]
               ,'Table1'[Value]
               ,"NameOfValue"
               ,'Table1'[Parameter],"report1") 

 

 

the result of this measure is 1.50 ; But when I divide it by -1 the result is changed to -0.05.

 

 

 

Measure1:=  DIVIDE(
                 LOOKUPVALUE('Table1'[column1]
               ,'Table1'[Value]
               ,"NameOfValue"
               ,'Table1'[Parameter],"report1") 
               ,-1)

 

 

I even tried multiplication(* -1) but getting the same result , -0.05

How should I change the measure to get -1.50?

 

4 REPLIES 4
Wendeley-North
Resolver I
Resolver I

Seems to be an issue with your parentheses.

Measure1=  
VAR value = LOOKUPVALUE('Table1'[column1]
                        ,'Table1'[Value]
                        ,"NameOfValue"
                        ,'Table1'[Parameter],"report1")
RETURN
    DIVIDE ( value, -1 )
            
Anonymous
Not applicable

I changed as you suggested but still getting the same result, it returns -0.05.

Hi @Anonymous ,

 

What's the data type of your [column1]?  What's your data source? All thing works well based on my test. Would you please show us some sample data that could the issue?

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Best Regards,

Dedmon Dai

Could you show a table with the two measures inside showing -1.50 and -0.05? Also, could you upload some sample data?

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors