Forum Discussion
lafakios
3 years agoHelper I
Create calculated table with filtered distinct rows
Hi, I want to create a calculated table based on a dimension table. The dimension table has several rows and some of the rows share the same value in the first column. In the calculated ta...
tamerj1
3 years agoCommunity Champion
Hi lafakios
It doesn't look like a use case of GENERATE. Simply use
NewTable =
SUMMARIZE (
FILTER ( 'DimensionTable', 'DimensionTable'[IsActive] = "True" ),
'DimensionTable'[FirstColumn],
"Count", COUNT ( 'DimensionTable'[SecondColumnn] )
)
lafakios
3 years agoHelper I
This worked, thanks a lot for your help!