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.
Trying to categorize customers into 3 Tiers. Tier one and 3 are working but tier 2 I'm struggling with. It needs to be customers who are estimated to close within 90 days and don't have a signed customer agreement (872960001). The date functions are really messing me up. If anyone can help0 it would be greatly appreciated!
Tier is the column name
"Tier", each if [nik_signedcustomeragreementwdealer] = 872960000 then "Tier 1"
else if [estimatedclosedate] = DATESINPERIOD('CALENDAR TABLE V2'[Date],TODAY(), +1, QUARTER) and [nik_signedcustomeragreementwdealer] = 872960001 then "Tier 2"
else "Teir 3")
Solved! Go to Solution.
Hi @JessSherman
try with:
Tier =
VAR CurrentDate = TODAY()
VAR EstimatedCloseDate = [estimatedclosedate]
VAR SignedCustomerAgreement = [nik_signedcustomeragreementwdealer]
RETURN
IF(
SignedCustomerAgreement = 872960000,
"Tier 1",
IF(
AND(
EstimatedCloseDate <= EDATE(CurrentDate, 3),
SignedCustomerAgreement <> 872960001
),
"Tier 2",
"Tier 3"
)
)
BBF
Hi @JessSherman
try with:
Tier =
VAR CurrentDate = TODAY()
VAR EstimatedCloseDate = [estimatedclosedate]
VAR SignedCustomerAgreement = [nik_signedcustomeragreementwdealer]
RETURN
IF(
SignedCustomerAgreement = 872960000,
"Tier 1",
IF(
AND(
EstimatedCloseDate <= EDATE(CurrentDate, 3),
SignedCustomerAgreement <> 872960001
),
"Tier 2",
"Tier 3"
)
)
BBF
Genius thank you!
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 |
---|---|
11 | |
9 | |
8 | |
8 | |
8 |
User | Count |
---|---|
13 | |
12 | |
11 | |
10 | |
9 |