Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
Hey everyone,
I tried to look up in the community but haven't found anything this specific.
I have two tables:
1. Sales Table- including 2 columns: Full date & Amount[USD]
2. Date Table - including 4 columns: full date, the day of the week, FY, Quarter.
I am trying to create a total revenues measure based on the filtered date-table in a way that when I use slicer (for example a specific month) it will calculate other measures based on the total revenues one.
I tried using this formula:
@Anonymous this is the fix but I think you are over complicating things.
New_Total_Revenues = CALCULATE( SUM('Sales'[Amount]), DATESBETWEEN('Date Dim'[Date],FIRSTDATE('Date Dim'[Date]),LASTDATE('Date Dim'[Date]) ) )
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
Ask questions in Eventhouse and KQL, Eventstream, and Reflex.
Check out the May 2024 Power BI update to learn about new features.
User | Count |
---|---|
90 | |
80 | |
60 | |
60 | |
58 |
User | Count |
---|---|
155 | |
119 | |
104 | |
78 | |
71 |