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

Help in writing Dax in Tabular Model

$
0
0
DateDimensionIDJobCloseDatePolicyNumberBranchIDJob
201607017/1/2016 0:00A1Submission
201607027/2/2016 0:00A3Policy Change
201607027/3/2016 1:00C4Reinstatement
201607037/3/2016 1:00A5Cancellation
201607037/3/2016 2:00B7Cancellation
201607037/3/2016 3:00B8Cancellation
201607037/3/2016 4:00A6Cancellation
201607047/5/2016 0:00A9Reinstatement

Hi Friends,

I am trying to write a measure in tabular which gets me count of all the policies whose latest Job is "Cancellation"

latest Job is based on JobCloseDate.

For example

IN Power BI Desktop If I have a slicer on Td_Date[CalendarDate](It is connected to this table using DateDimensionID)

If I select 07/04/2016 on the slicer then the totalCount should be 1

If I select 07/04/2016 on the slicer then the totalCount should be 2

I was able to write the dax in Dax Studio but not able to put it in tabular model.

Kindly help me out on this.


Viewing all articles
Browse latest Browse all 217217

Trending Articles



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