Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.
Check it out now!Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more
Hi,
I am making a dashboard, filtered by year and month, with two tables.
The first table is fixed (not filtered by the year and month filters) shows the sales amount per month (line) and per year (columns). There I have the Sales Amount number and the YoY
The second shows all clients that paid us that month and year (filters of the dashboard), with their Sale Amounts and YoY.
The second table can filter the first. And here starts my Problem.
When I choose a client that has two differents payments on the same date, the YoY returns a error.
I use the basic DAX for last yeat measures
= CALCULTE ([Sales],SAMEPERIODLASTYEAR(Calendar[Date]))
How can I solve this problem?
I am pretty sure that the problem is caused by the payments on the same date.
Hi, @VKeller ;
Sorry, can you share a scene or a simple example (accompanied by a picture) and the desired result presentation?
please provide some sample data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.
How to upload PBI in Community
Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.