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
ashraf_SISL1
Helper II
Helper II

Payment Behaviour

Hi Team,

 

I want to know the payment Behaviour of my consumers. Consumers make payments every month, sometimes 02-03 times in a month. All payments in a single month to be counted as 01 payment & basis on that I want to know the payment Behaviour  of every consumer as per below,

01 to 03 times  - Defaulter

04 to 06 times  - Irregular

07 to 10 times   - Alternate

11 to 12 times    - Regular

 

Sample data is here,

 

https://app.powerbi.com/groups/me/reports/67b9a734-b5c6-4b5d-a132-72d26afbc662/ReportSectioncd765e74...

 

Thanks, 

 

6 REPLIES 6
amitchandak
Super User
Super User

Did not saw the data. You need to do something like this, first group the data at month and then use

 

payment count =sumx(SUMMARIZE(Table,table[Month Year],"_sum",sum(Table[payment])),if([_sum]>0,1,0))

Or

payment count =sumx(SUMMARIZE(Table,Table[Customer ID],Table[Month Year],"_sum",sum(Table[payment])),if([_sum]>0,1,0))

 

Switch(true(),
[payment count] <=3 "Defaulter",
[payment count] <=6 "Irregular",
[payment count] <=10 "Alternate",
[payment count] <=12 "Regular"
)

Hi all,

 

Here is the link for access my sample data,

 

 

 

Thanks..

Hi @ashraf_SISL1 ,

 

We do not recommend to share the report link within this public forum. But actually  We cannot understand your data model clearly, Could you please provide a mockup sample based on fake data or describle the fields of each tables and the relations between tables simply? It will be helpful if you can show us the exact expected result based on the tables. Please upload your files to One Drive and share the link here. Or you can use table using fake sample in your reply.


Best regards,

 

Community Support Team _ Dong Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

@v-lid-msft 

 

Hi,

 

We just wanted to know the consumer payment behavior with the below parameter,

All payments of a consumer in a single month to be counted as 01 payment 

01 to 03 times  - Defaulter

04 to 06 times  - Irregular

07 to 10 times   - Alternate

11 to 12 times    - Regular

 

below is the sample file

https://sislinfotech-my.sharepoint.com/personal/ashraf_khan_sislinfotech_com/_layouts/15/onedrive.as...

Greg_Deckler
Super User
Super User

I'm with @vanessafvg that link doesn't work for m.

@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...
vanessafvg
Super User
Super User

can you download the pbix rather, i dont have access to this





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!




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.