Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi,
is there a way to put this on measure currently my issue is getting the retention of customer
logic is = COUNT the dealer with maturing = cash then for the past 3 months with purchase order
current measure :
=SUMMARIZE(FACT_ONEPC,FACT_ONEPC[DLR_LINK],"Maturing",CALCULATE([Maturing Amt],FACT_ONEPC[TRANS_TYPE] = "CASH" && DATEADD(FACT_ONEPC[INV_DT],-3,MONTH )))
thanks.
Solved! Go to Solution.
Hi,
I am not sure if I understood your question correctly, but please try something like below.
current measure : =
VAR _t =
SUMMARIZE (
FACT_ONEPC,
FACT_ONEPC[DLR_LINK],
"Maturing",
CALCULATE (
[Maturing Amt],
FACT_ONEPC[TRANS_TYPE] = "CASH"
&& DATEADD ( FACT_ONEPC[INV_DT], -3, MONTH )
)
)
RETURN
COUNTROWS ( _t )
Hi,
I am not sure if I understood your question correctly, but please try something like below.
current measure : =
VAR _t =
SUMMARIZE (
FACT_ONEPC,
FACT_ONEPC[DLR_LINK],
"Maturing",
CALCULATE (
[Maturing Amt],
FACT_ONEPC[TRANS_TYPE] = "CASH"
&& DATEADD ( FACT_ONEPC[INV_DT], -3, MONTH )
)
)
RETURN
COUNTROWS ( _t )
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 8 | |
| 6 | |
| 4 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 25 | |
| 17 | |
| 8 | |
| 8 | |
| 7 |