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
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

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 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.

Top Solution Authors