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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
jalaomar
Helper IV
Helper IV

Create a new column in query editor

Hi all,

 

I would like to create a new column with some conditions.

 

I have three Columns in my tabel, FI Local Account, Group Account & Cost type In which I want certain values for each column with the following data. In the Coumn FI Local Account I want to EXCLUDE the values. the output is to get the cost related to this filtering.

 could you please support with the type of DAX funtion I need to write in the query editor?

Thanks so much!!

  • FI Local Account: !252465/54653800 Stlm COS Warranty, proj to COPA; !1590f01/55631100 Stlm COS Warranty, proj to COPA; !1540001/55641100 Stlm COS Warranty KC, proj to COPA; !1540001/73151000 Filling machine project warranty costs; !1540001/73351000 Processing equipment project warranty costs; !1590001/73361000 Processing key components project warranty costs; !1/79090010 Unabsorbed Tech Support exp (F187); !1590001/79200010 Issue Resolution CE-FM; !1570011/79200020 Issue Resolution CE; !252463/79200040 Service (SP/SE); !15400g1/79200050 Issue resolution Processing Systems COS

 

  • Group Account: P11606021 PM Claims; P12101162 Issue resolution costs on PM; P12161422 Issue resolution Processing system COS; P12101432 Spare parts Issue resolution COS; P12101442 Issue resolution left in Technical service; P12101462 FM Issue resolution FM COS; P12101592 DE Issue resolution DE COS; P24205602 Write-down/write-up compensation & penalties provisions; P24205003 Write-down/Write-ups provisions Customer compensation and pe; P24205004 Write-down/Write-ups Other compensation & penalties provisi; P24250003; P24255002 Compensation and penalties costs; P24655003 Customer compensation/Penalties related to quality issues; P24256004 Other Compensations and Penalties costs

 

  • Cost type: !Not assigned; !Issue Resolution TS (Unabsorbed)
2 REPLIES 2
dax
Community Support
Community Support

Hi jalaomar, 

If possible, could you please inform me more detailed information(such as your sample data and your expected output)? Then I will help you more correctly.

 

Please do mask sensitive data before uploading.

Thanks for your understanding and support.
Best Regards,
Zoe Zhi

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

parry2k
Super User
Super User

@jalaomar it is very hard to follow your question. Read this post to get your answer quickly.

https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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