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 September 15. Request your voucher.
Hi,
I would like to compare the total actual cost per month with the payout amounts in a column chart. I managed to calculate the totalmtd but I´m not sure what to use on the time axis when one table is using specific dates and the other one is in months.
I´m new to power BI and appreciate any help 🙂
Thanks
Solved! Go to Solution.
Hi @Anonymous ,
Please refer to my .pbix file.
Best regards,
Lionel Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Anonymous , refer to this video for the first few mins.
@Anonymous - Create a column in your first table:
Month = MONTH([Date])
Then you can relate your tables and then it shouldn't matter which you use in your visual.
Hey @Anonymous ,
first you should create a dedicated calendar table and relate this table to the date column in your costs table.
The 2nd step should be to create a date column in your payouts table, eg. the last day of the month.
Then you can once again relate the calendar table to your Payouts table.
Maybe this article can also provide additional insights:
https://www.daxpatterns.com/handling-different-granularities/
And this is a more general article, about the handling of dates inside Power BI:
https://www.daxpatterns.com/time-patterns/
Hopefully, this provides some new insights on how to tackle your challenge.
Regards,
Tom
User | Count |
---|---|
57 | |
54 | |
53 | |
48 | |
30 |
User | Count |
---|---|
177 | |
88 | |
70 | |
48 | |
48 |