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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply

Error: Cannot apply the operator to the types Function and Function

Hi, good people 

I think my problem is not too complex, but I don't understand what is going on ...

 

Look at this formula 

 

felipecarvalho_1-1631234249007.png

 

At the moment the last Column is giving me the expected result.  

 

Focus on the 2 variables that I have in the second and third lines. I "Rename" to "A" and "B" in the picture to make it easier to explain.

On the picture above, I am returning  B, and the result is Fine (type is null or a number).  If I return A the result is fine too.

 

But I want to return B -A. 

 

But I Get this error:

 

felipecarvalho_2-1631234617767.png

 

How can I solve this?

 

Thanks for all your help!

 

 

1 ACCEPTED SOLUTION
wdx223_Daniel
Super User
Super User

2 REPLIES 2
wdx223_Daniel
Super User
Super User

wdx223_Daniel_0-1631237312895.png

 

@wdx223_Daniel 

 

I use your suggestion like this and it worked:

 

felipecarvalho_0-1631272347676.png

 

I think I still do not fully understand the "each" and (_).... and why they make it work...

Can you elaborate?

 

Regardless of that, I will already mark your answer as the solution. 

Thank you very much!

 

 

 

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

Check out the August 2024 Power BI update to learn about new features.

August Carousel

Fabric Community Update - August 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors