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.
Sorry for language, my Dutch is better....
I have now
But it changed in :
= Table.AddColumn(#"Type gewijzigd", "Groep",
each if [duur dossierbehandeling] <= 3 then "0-3" else if [duur dossierbehandeling] <= 6 then #date(2023, 6, 4) else
if [duur dossierbehandeling] <= 9 then #date(2023, 9, 7) else
if [duur dossierbehandeling] <= 12 then #date(2023, 12, 10) else
"zoek")
What is the wright formule for getting #date(2023, 6, 4) ==> 4-6 as text so not a date
Who want to help me
Solved! Go to Solution.
Hi @Nelleke-NL ,
How about this?
= Table.AddColumn(#"Type gewijzigd", "Groep", each if [duur dossierbehandeling] <= 3 then "0-3" else if [duur dossierbehandeling] <= 6 then "4-6" else if [duur dossierbehandeling] <= 9 then "7-9" else if [duur dossierbehandeling] <= 12 then "10-12" else "zoek")
Let me know if this helps 🙂
/Tom
https://www.tackytech.blog/
https://www.instagram.com/tackytechtom/
Did I answer your question❓➡️ Please, mark my post as a solution ✔️ |
Also happily accepting Kudos 🙂 |
Feel free to connect with me on LinkedIn! | |
#proudtobeasuperuser | |
Hi @Nelleke-NL ,
How about this?
= Table.AddColumn(#"Type gewijzigd", "Groep", each if [duur dossierbehandeling] <= 3 then "0-3" else if [duur dossierbehandeling] <= 6 then "4-6" else if [duur dossierbehandeling] <= 9 then "7-9" else if [duur dossierbehandeling] <= 12 then "10-12" else "zoek")
Let me know if this helps 🙂
/Tom
https://www.tackytech.blog/
https://www.instagram.com/tackytechtom/
Did I answer your question❓➡️ Please, mark my post as a solution ✔️ |
Also happily accepting Kudos 🙂 |
Feel free to connect with me on LinkedIn! | |
#proudtobeasuperuser | |
I did that
= Table.AddColumn(#"Type gewijzigd", "Groep", each if [duur dossierbehandeling] <= 3 then "0-3" else if [duur dossierbehandeling] <= 6 then "4-6" else if [duur dossierbehandeling] <= 9 then "7-9" else if [duur dossierbehandeling] <= 12 then "10-12" else "zoek")
and then after <enter> date are coming.... Know I have several time changed the text "7-9" etc and now it is working complete! I think somewhere in "" or "" is a differentcy.
Still learning and thanka a lot for help and understanding.
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 |
---|---|
15 | |
12 | |
8 | |
8 | |
7 |
User | Count |
---|---|
15 | |
13 | |
9 | |
7 | |
6 |