Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
How can I create a DAX formula to appear every month of the year, even if one of them has no information, ie no sale occurred in that month.
In my case I can not cross a calendar table that would be ideal, nor any other data, since a bank connector comes with the data ready.
Do you have any formula that can solve my problem?
I believe that you're going to need a calendar table that continuously covers the date from your starting date to at least your end date. Since you said you're using a "bank connector", I assume that you're using direct query and cannot connect your internal PowerBI date table to the query date. The only alternative that I see is for you to contact the bank IT department and ask them to include a calendar/date table in their data. Once you've got the relationship set up between your date table and the date column in the bank data, you use the date table month column on the x-axis and it should then plot each month even when no transactions occurred in that month. Hope this helps.
With the calendar table I do in other cases, but in that specific I can not now.
That is my problem, at that time TI does not have this availability and wanted to solve it in another way.
Does Via DAX have any formula?
Hi @vmsouza30,
With the calendar table I do in other cases, but in that specific I can not now.
That is my problem, at that time TI does not have this availability and wanted to solve it in another way.
Does Via DAX have any formula?
As creating new tables using DAX in DirectQuery is not supported currently, but an individual and continuous Calendar table is needed here, using DAX cannot do it in this scenario.
Regards
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
147 | |
85 | |
66 | |
52 | |
46 |
User | Count |
---|---|
215 | |
90 | |
83 | |
66 | |
58 |