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.
Hi all,
I have a problem and I cannot figure it out on my own.
I need to transform the amount of days into [TEXT] '< 3 months' (<90 days) or [TEXT] '> 3 months' (>89 days). The transform options do not give a solution, or i cannot find it. Please help me out. I think there must be a simple solution :).
Thanks in advance!
Solved! Go to Solution.
Hi @Flappy8Flapjack , you can create a calculate column:
Result = SWITCH(TRUE(),
'Your column Amount of days'<90, "<3 months",
'Your column Amount of days'>89, ">3 months",
""
)
I hope works for you, Best regards
@Flappy8Flapjack, It would be better if you share sample data along with expected output in excel format.
Hi @Flappy8Flapjack , you can create a calculate column:
Result = SWITCH(TRUE(),
'Your column Amount of days'<90, "<3 months",
'Your column Amount of days'>89, ">3 months",
""
)
I hope works for you, Best regards
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 |
---|---|
58 | |
56 | |
56 | |
38 | |
29 |
User | Count |
---|---|
75 | |
62 | |
45 | |
40 | |
39 |