Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hello,
Have two formulas to get 'Others' value for New Customer Volume by each customer.
The methodology working well with rest of 'Other' kpi's I have, but this one use copmlex measure and return zero.
RANK_NewCusM2_MEASURE = RANKX(ALLSELECTED(D_Customer[Customer]),CALCULATE(
SUM(F_Invoice[M2]),
FILTER(
D_Customer,
CALCULATE(COUNTROWS(F_Invoice))>0 &&
CALCULATE(
COUNTROWS(F_Invoice),
FILTER(
ALL(D_Date),
D_Date[DATE_Date]< MIN(D_Date[DATE_Date])
)
)=0
)))
Others Total NewCusM2 = IF( ISBLANK(CALCULATE(
SUM(F_Invoice[M2]),
FILTER(
D_Customer,
CALCULATE(COUNTROWS(F_Invoice))>0 &&
CALCULATE(
COUNTROWS(F_Invoice),
FILTER(
ALL(D_Date),
D_Date[DATE_Date]< MIN(D_Date[DATE_Date])
)
)=0
),FILTER(all(D_Customer[Customer]),[RANK_NewCusM2_MEASURE]> 20))),0,CALCULATE(
SUM(F_Invoice[M2]),
FILTER(
D_Customer,
CALCULATE(COUNTROWS(F_Invoice))>0 &&
CALCULATE(
COUNTROWS(F_Invoice),
FILTER(
ALL(D_Date),
D_Date[DATE_Date]< MIN(D_Date[DATE_Date])
)
)=0
),FILTER(all(D_Customer[Customer]),[RANK_NewCusM2_MEASURE]>20)))
Hi @mrslyfox,
It is hard to test your formula without any sample data, can you please share some detail contents?
Regards,
Xiaoxin Sheng
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 41 | |
| 39 | |
| 37 | |
| 29 | |
| 24 |
| User | Count |
|---|---|
| 119 | |
| 100 | |
| 72 | |
| 69 | |
| 65 |