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 September 15. Request your voucher.

Reply
Indigo_01
New Member

Transcription from structured references with Excel tables to Power Query

Good day community. 

I wish to transcript this action into PoweQuery, but I am unable to. Would you help me?

 

=IF([@[Confirm. Category]]<>"",

                    IF(FILTER([Purchasing Document], ([@[Purchasing Document]]=[Purchasing Document])*([Confirm. Category]="AB"),"")   =    FILTER([Purchasing Document], ([@[Purchasing Document]]=[Purchasing Document]) * ([Confirm. Category]="LA"),""),

            "si",

    "No"),

"")

 

The next one is the same code but in a linear format.

=IF([@[Confirm. Category]]<>"", IF(FILTER([Purchasing Document], ([@[Purchasing Document]]=[Purchasing Document])*([Confirm. Category]="AB"),"")=FILTER([Purchasing Document], ([@[Purchasing Document]]=[Purchasing Document]) * ([Confirm. Category]="LA"),""), "si", "No"), "")

2 REPLIES 2
Anonymous
Not applicable

Hi @Indigo_01 ,

 

You may consider posting some sample data and expected output with the logic, it would be helpful, thanks.

How to provide sample data in the Power BI Forum

 

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly --  How to provide sample data in the Power BI Forum

Thank you very much. 
I will improve my future consults. 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors