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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
Aldair
Regular Visitor

Dear Sirs, I tried to use the operator "NOT ( ! ) unsuccessfully, help me whith exemples. thanks.

Prezados Senhores, eu tentei usar o operador "NÃO (!) Sem sucesso, me ajudar com o exemplo.

1 ACCEPTED SOLUTION

 

@Aldair  as always there are many ways to do one thing, have tried to figure out the !  but none of my syntax is working.. however you might not need it, as you can use 

 

measure = calculate(measure,  not(condition = "value"))

 





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




View solution in original post

8 REPLIES 8
vanessafvg
Super User
Super User

@Aldair can you give an example of what you tried already and what you are trying to do?

 

 





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




GROSS REVENUE = ABS(CALCULATE([Valor Contábil];CT1010[CTA SUPERIOR]<>"31101"))!CT1010[CTA SUPERIOR]="41101"))

@Aldair

 

GROSS REVENUE = ABS(CALCULATE([Valor Contábil],Filter (CT1010, CT1010[CTA SUPERIOR]<>"31101"

                                                                                                  && CT1010[CTA SUPERIOR]="41101"))

 

 





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




Thanks. At what time / situation can I use the NOT (!) Operator? Is it with measure / column calculated? I wanted one or a few examples. At the moment it is for knowledge. Thank you very much.Operator NOT.JPG

 

@Aldair  as always there are many ways to do one thing, have tried to figure out the !  but none of my syntax is working.. however you might not need it, as you can use 

 

measure = calculate(measure,  not(condition = "value"))

 





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




Aldair
Regular Visitor

Dear Sirs, I tried to use the operator "NOT ( ! ) unsuccessfully, help me whith exemples. thanks.

Hi @Aldair,

Can you please elaborate your requirement?

 

Thanks !!

Can you post the detailed formula for that? 

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.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.