Quantcast
Channel: Desktop topics
Viewing all articles
Browse latest Browse all 213916

DAX Queries - this month last year

$
0
0

Hello,

 

I have some data on an Azure DB that pulls through to an Excel 2016 spreadsheet.

 

The spreadsheet is connected to 5 tables in the Azure DB.

 

Looking at one of the DB tables I have the following columns;

 

PeriodID, OfficeID, Submission Date/Time, Income 1, Income 2

 

Using the Query Editor I have added a column called TotalIncomeThisMonth which I got by adding Income 1 and Income 2 together.

 

I now need to create another column called TotalIncomeThisMonthLastYear but I have no idea how to extract this from the DB.  I presume I may have to extract the info for Income 1 (ThisMonthLastYear) and Income 2 (ThisMonthLastYear) then add the 2 new columns together?  But how do a I extract the figures from this time last year?


Viewing all articles
Browse latest Browse all 213916

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>