Quantcast
Channel: SQLServerCentral » Data Warehousing » Analysis Services » Latest topics
Viewing all articles
Browse latest Browse all 1341

Groupby in DAX

$
0
0
So........My previous post I ended up getting down to the month year level, but to drill down to the supplier level I am forced to do a case statement to row count for each record. I did that in SQL and pulled it into my fact table in SSAS. (Tabular)My problem is a left outer join, so in some cases the UI is duplicated. I am trying to group by in SSAS in the calculated column to get the true count. I have two columns one with Unique ID's which is duplicating along with the second part the rowcount column.1st column is 4 digits 1234 e.g. and the second column is either 1 or 0 for the counter. I'd like to distinctcount on a group by but not to familiar with DAX. I'll keep Googling but thanks in advance!

Viewing all articles
Browse latest Browse all 1341

Trending Articles