The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Please suggest how to get missing month in this chart. This is 12 month data, but if there is no data power bi not showing month for that.
Solved! Go to Solution.
You may try to create a measure with IF Fuction like below:
Measure = IF ( MAX ( 'Table'[date] ) <= DATE ( 2019, 3, 31 ) && MAX ( 'Table'[date] ) >= DATE ( 2018, 4, 30 ), SUM ( 'Table'[Amount] ) + 0 )
Regards,
You may try to create a measure with IF Fuction like below:
Measure = IF ( MAX ( 'Table'[date] ) <= DATE ( 2019, 3, 31 ) && MAX ( 'Table'[date] ) >= DATE ( 2018, 4, 30 ), SUM ( 'Table'[Amount] ) + 0 )
Regards,
In the Visualisation Pane right click on your filed (Year Month) and select Show items with no data as below.
Hope this helps
Mariusz
By this feature it is showing all 2018 and 2019 months in X-axis. I want to start X-axis from Apr 2018 and last month will be Mar-19.
User | Count |
---|---|
78 | |
74 | |
42 | |
32 | |
28 |
User | Count |
---|---|
104 | |
93 | |
52 | |
50 | |
46 |