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 All,
I have calendar table and sales table so created relationship based on dates.
calendar date is used in slicer as month format , Now there is requirement if i select any month it should show that month last day of value or if i select more month then sum of all those months last day value should show in card result.
EX:
sales table:
Date | Product | Sales | etc columns.. |
01/01/2024 | 101 | 60 | |
02/01/2024 | 101 | 80 | |
31/01/2024 | 101 | 90 | |
02/02/2024 | 101 | 40 | |
28/02/2024 | 101 | 26 | |
04/03/2024 | 101 | 15 | |
31/03/2024 | 101 | 78 | |
01/04/2024 | 101 | 36 | |
02/04/2024 | 101 | 5 | |
03/04/2024 | 101 | 4 |
expected result like:
if i select slicer month (jan, mar, april) then sum of last date value should show. (172)
if i select only Jan then jan month last value should show (90)
thanks in advance.
Vara
Solved! Go to Solution.
you can try to create a column in fact table
Proud to be a Super User!
you are welcome
Proud to be a Super User!
you can try to create a column in fact table
Proud to be a Super User!
you are welcome
Proud to be a Super User!
User | Count |
---|---|
65 | |
61 | |
60 | |
53 | |
30 |
User | Count |
---|---|
181 | |
88 | |
71 | |
48 | |
46 |