Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hello. I'm trying to convert a dyanmic new supplier Dax Formula to a more static formula for use in excel. The BI measure required user input for days to check for new suppliers(Time Frame Value in DAX)
My current DAX formula looks for new suppliers within user inputted days lookback(typically 90 days).
The Time Frame Value was the user inputted days to look back to check for new suppliers
I would like to compute new suppliers statically for a 3 month, 6 month, 1 year, and since the dawn of time for new suppliers.
Dax Code:
New Suppliers By Day =
VAR Supplier= VALUES(dfile[Supplier Name])
VAR Prior_Suppliers = CALCULATETABLE(VALUES(dfile[Supplier Name]),
FILTER(ALL(dfile),
dfile[Invoice Paid Date]>MIN(dfile[Invoice Paid Date])-[Time Frame Value] &&
dfile[Invoice Paid Date]<MIN(dfile[Invoice Paid Date])))
Return
COUNTROWS(EXCEPT(Supplier,Prior_Suppliers))
Ideally fill in a similar table to this one below
New Suppliers | ||||
Dallas | 3 Month | 6 Month | 1 year | Absolute |
New York | ||||
LA | ||||
US Subtotal | ||||
Rome | ||||
Tokyo | ||||
Shanghai | ||||
Total |
Any help would be appreciated to make the formula static so i can use the measure in a excel report instead of BI. Thanks
Hi @Anonymous ,
You can have a look at these blog articles.
https://radacad.com/customer-retention-in-power-bi-dax-measures
https://www.sqlbi.com/articles/computing-new-customers-in-dax/
Regards,
Harsh Nathani
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
14 | |
11 | |
10 | |
10 | |
9 |
User | Count |
---|---|
18 | |
13 | |
12 | |
11 | |
8 |