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.
Dears:
I have a problem with Time Intelligence I cannot solve by my own.
Sometimes I am required to provide figures at the end of the month or after the first fortnight. Working on full dates I am not having problems, but the point is when I try to use a smaller table showing only YearMonth or YearQuarter.
PowerBI is summing up all the values for last year, this mean the whole month, not till first fortnight or till first month of the quarter or last date with sales on the present year...
I've tried to use distintcount and countrows functions to figure out how many days with sales have happened, but in the way we work, we could have sales on Monday and Wednesday but nothing on Tuesday, and this sequence may not happen the year before.... what I mean is that being on August 15th doesn't mean to have 15 days of sales....
The use of DATESBETWEEN is not recomendable, because I don't want to use manual dates entering or formula correction each time.
The only easy solution I've found is by using a Slicer, Between-Slider type, and then shortlisting the deadline I wish.
The File here:
https://www.dropbox.com/s/88dtadb0s7m1hpd/Dummy%20Model.pbix?dl=0
Any other idea to handle with this easily?
Solved! Go to Solution.
Check if the following link helps.
https://www.sqlbi.com/articles/compare-equivalent-periods-in-dax/
Check if the following link helps.
https://www.sqlbi.com/articles/compare-equivalent-periods-in-dax/
Hi @v-chuncz-msft, Dears all:
I found some free time to put this knowledge to test.
The solution you propose works, but it is important to highlight some points:
Here the file for testing or commenting:
https://www.dropbox.com/s/88dtadb0s7m1hpd/Dummy%20Model.pbix?dl=0
Awaiting for your comments 🙂
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 |
---|---|
110 | |
94 | |
82 | |
66 | |
58 |
User | Count |
---|---|
151 | |
121 | |
104 | |
87 | |
67 |