Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago

Tableau Include in Power BI

Hello Guys,

Can you help me out in converting the code of tableau in Power BI. The code is mentioned below:

{ INCLUDE [Country_code],[Technology],[priority],[snapshot_month],[comparison_snapshot_month]:MAX([gross_capacity_mwp])}

 

I applied this code in replication but unable to get the correct values:

SUMX(SUMMARIZE('project_waterfall','project_waterfall'[country_code],project_waterfall[Technology],project_waterfall[priority],project_waterfall[snapshot_month],project_waterfall[comparison_snapshot_month],"Gross Waterfall", MAX(project_waterfall[gross_capacity_mwp])),[Gross Waterfall])

 

Thanks in Advance.