I’m re-doing a Tableau report in Power BI. The report contains a calculation where I want to combine Sat-Sun-Mon revenue into “Monday revenue”… and report that with the typical Tue revenue, Wed rev, Thu rev, and Fri rev.
I’m attaching both the PBIX and further details about the desired outcome, and how it was accomplished in Tableau.
I thought of giving a try with Power Query, but after seeing so many calculated columns it was not feasible. the above reply by @Harsh solved your problem. Just small advice try to change your Calculated columns into Measures (columns not used for slicer) as it will be very faster and your model will consume less memory.
Sure, below is the link of the Date table code provided which was created by one of our expert @Melissa. It’s available under the category “M Code Showcase”. And you can also find under the Advanced Editor option in the solution file that I’ve provided. Just select the “Query1” and go to the Advanced Editor. Below is the screenshot provided for the reference -