Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
Hello everyone! I have a question about a mesuare. Im trying to make a recount according the month.
As you can see, the present month is ok, but when I try to see the following month, the result is wrong( eg in the column that it said "MARZO " in Recount next month it should appear number 16, that correspond to April.
Best Regards!
Solved! Go to Solution.
Hi,
Share the link from where i can download your PBI file.
<iframe width="600" height="373.5" src="https://app.powerbi.com/view?r=eyJrIjoiYTQ3Y2FmMjYtNjU3OC00MjY4LTg4NjMtMDY0MzE3ZGVkZGJmIiwidCI6ImE0N..." frameborder="0" allowFullScreen="true"></iframe>
Hi,
That is not a file download link. Also, would it be possible to share the file in English language?
I could fix it!
Thank you very much in any way
Best Regards!
Make sure you have your Calendar table 'Mark as Date table' see the bottom of this blog for how to:
https://excelwithallison.blogspot.com/2020/04/dimdate-what-why-and-how.html
Also, then you can update the Recount Next Month measure to:
Recount Next Month = CALCULATE( [Recount Present Month], DATEADD(Calendar[Date], 1, MONTH))
That pattern of CALCULATE( [Measure], DATEADD(Calendar[Date], #, MONTH)) will always work. You can even switch DATEADD for other time intelligence measures and MONTH for other YEAR, etc.
Copying DAX from this post? Click here for a hack to quickly replace it with your own table names
Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C
I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 53 | |
| 37 | |
| 35 | |
| 19 | |
| 17 |
| User | Count |
|---|---|
| 73 | |
| 70 | |
| 39 | |
| 34 | |
| 23 |