Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi, Can you please help me with DAX formulas, I kinda stuck.
I have START Date and END Date and need to calculate Days Between, I used this function below to create new column:
Solved! Go to Solution.
Hi @skazaryan,
Please try to create one calculated column as below:
Days Group = IF ( ISBLANK ( [Days] ), "Pending", IF ( [Days] >= 6, "6+", [Days] ) & " Days" )
If the above formula is not applicable in your scenario, could you please explain which condition can be grouped as " Pending "?
Best Regards
Rena
Thank you, everyone, for the help!
Hi @skazaryan,
Please try to create one calculated column as below:
Days Group = IF ( ISBLANK ( [Days] ), "Pending", IF ( [Days] >= 6, "6+", [Days] ) & " Days" )
If the above formula is not applicable in your scenario, could you please explain which condition can be grouped as " Pending "?
Best Regards
Rena
Hi @skazaryan
try to use grouping technique as described here https://docs.microsoft.com/en-us/power-bi/desktop-grouping-and-binning
Hello @skazaryan
I would recommend to use Power Query for this:
Add a custom column:
Change the column type to number:
Add a conditional column:
Result:
Cheers!
Vivek
If it helps, please mark it as a solution
Kudos would be a cherry on the top 🙂
https://www.vivran.in/
Connect on LinkedIn
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
97 | |
96 | |
81 | |
74 | |
66 |
User | Count |
---|---|
129 | |
106 | |
106 | |
86 | |
72 |