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.
I am recycling a function that works perfectly minus the EDATE function. I am looking for the same thing as EDATE but I need it to operate as days or weeks (whichever one is easier) as opposed to months. Is there a simple solution for this? Here's my code for reference:
Solved! Go to Solution.
@daxer-almighty could you put that solution into my code? Let's say I want to return 2 weeks or 14 days.
var Fdate = Ldate - 14
@daxer-almighty Thank you that seems to work perfectly. I do have a quick follow up question: This works in a matrix format but I am trying to disply this info in a KPI visual as well. The KPI visual is coming up blank, do you have any suggestions?
Hey I know it's a bit late but the KPI visual usually has a color column. And you shouldn't modify that column. For example, I have this Gann chart for task planning called "Natural Green Construction Schedule" (source: https://www.wps.com/academy/guide-to-construction-scope-of-work-templates-in-excel-quick-tutorials-1...). You shouldn't modify the type column because then KPI visual will have no color input and will output white color. Add a column to the right of that column if you need to add more content.
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 | |
11 | |
10 | |
9 | |
8 |
User | Count |
---|---|
17 | |
12 | |
11 | |
11 | |
11 |