cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Paulyeo11
Impactful Individual
Impactful Individual

How to add condition for SOURCE_AR for Recode Payment Term =1 to 30Days ?

Paulyeo11_0-1605946936208.png

 

2 REPLIES 2
speedramps
Super User
Super User

Please consider these solutions and click ‘accept solution’ and click the thumbs up to leave kudos, thank you.

 

Option1

In the query editor create a new conditional column

New payment terms =
If AR(SOURCE_AR) = “TS” then 1 – 30
else Payment Terms

 

Option2

Add a new table called Sources with

Source_AR          Terms

TS                           1 to 30
WK                         1 to 7
2WK                       1 to 14

Then create a relationship

Paulyeo11
Impactful Individual
Impactful Individual

Hi Speed

Thank you for your sharing.

My PBI file as per enclosed :-

https://www.dropbox.com/s/q33j2cnep5qkwpo/PB_TDS_V055%20ASK.pbix?dl=0

 

I have 2 fields , SOURCE and Payment term code:-

Paulyeo11_0-1605949963093.png

 

 

Paul Yeo

Helpful resources

Announcements
Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

charticulator_carousel_with_text (1).png

Charticulator Design Challenge

Put your data visualization and design skills to the test! This exciting challenge is happening now through May 31st!

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Power BI Release May 2022 768x460.png

Check it out!

Click here to read more about the May 2022 updates!