Hello to all,
I'm new with Pivot Tables, DAX formulas and I want to know if it is possible to get the output desired with PT, Power Pivot, DAX etc.
I'm using Excel 2016.
This is my input Table:
[TABLE="class: tableizer-table"]
<tbody>[TR="class: tableizer-firstrow"]
[TH]DESCRIPTION[/TH]
[TH]VALUE[/TH]
[/TR]
[TR]
[TD]STAGE[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]ID[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]NAME[/TD]
[TD]JFMSC[/TD]
[/TR]
[TR]
[TD]TYPE[/TD]
[TD]MLRR[/TD]
[/TR]
[TR]
[TD]DFRUL[/TD]
[TD]P1[/TD]
[/TR]
[TR]
[TD]ADDR[/TD]
[TD]1001[/TD]
[/TR]
[TR]
[TD]RRUL[/TD]
[TD]P1[/TD]
[/TR]
[TR]
[TD]SPRR[/TD]
[TD]TRUE[/TD]
[/TR]
[TR]
[TD]ISGALW[/TD]
[TD]FALSE[/TD]
[/TR]
[TR]
[TD]ISUTWD[/TD]
[TD]FALSE[/TD]
[/TR]
[TR]
[TD]STAGE[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]ID[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]NAME[/TD]
[TD]PLLSJS[/TD]
[/TR]
[TR]
[TD]TYPE[/TD]
[TD]MLRR[/TD]
[/TR]
[TR]
[TD]DFRUL[/TD]
[TD]P1[/TD]
[/TR]
[TR]
[TD]STAGE[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]ID[/TD]
[TD]4[/TD]
[/TR]
[TR]
[TD]NAME[/TD]
[TD]AAAARR[/TD]
[/TR]
[TR]
[TD]TYPE[/TD]
[TD]MLRR[/TD]
[/TR]
[TR]
[TD]DFRUL[/TD]
[TD]R2[/TD]
[/TR]
[TR]
[TD]ADDR[/TD]
[TD]3553[/TD]
[/TR]
[TR]
[TD]RRUL[/TD]
[TD]P1[/TD]
[/TR]
[TR]
[TD]SPRR[/TD]
[TD]FALSE[/TD]
[/TR]
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TD]0[/TD]
[TD]JFMSC[/TD]
[TD]MLRR[/TD]
[TD]P1[/TD]
[TD]1001[/TD]
[TD]P1[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]2[/TD]
[TD]PLLSJS[/TD]
[TD]MLRR[/TD]
[TD]P1[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]4[/TD]
[TD]AAAARR[/TD]
[TD]MLRR[/TD]
[TD]R2[/TD]
[TD]3553[/TD]
[TD]P1[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]66444[/TD]
[TD]P1[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]890087[/TD]
[TD]P1[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]0[/TD]
[TD]PPROOA[/TD]
[TD]RRHN[/TD]
[TD]P1[/TD]
[TD]7034[/TD]
[TD]P1[/TD]
[/TR]
</tbody>[/TABLE]
Is possible or only with VBA macro?
Thanks in advance
I'm new with Pivot Tables, DAX formulas and I want to know if it is possible to get the output desired with PT, Power Pivot, DAX etc.
I'm using Excel 2016.
This is my input Table:
[TABLE="class: tableizer-table"]
<tbody>[TR="class: tableizer-firstrow"]
[TH]DESCRIPTION[/TH]
[TH]VALUE[/TH]
[/TR]
[TR]
[TD]STAGE[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]ID[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]NAME[/TD]
[TD]JFMSC[/TD]
[/TR]
[TR]
[TD]TYPE[/TD]
[TD]MLRR[/TD]
[/TR]
[TR]
[TD]DFRUL[/TD]
[TD]P1[/TD]
[/TR]
[TR]
[TD]ADDR[/TD]
[TD]1001[/TD]
[/TR]
[TR]
[TD]RRUL[/TD]
[TD]P1[/TD]
[/TR]
[TR]
[TD]SPRR[/TD]
[TD]TRUE[/TD]
[/TR]
[TR]
[TD]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OA[/TD]
[TD]RRHN[/TD]
[TD]P1[/TD]
[TD]7034[/TD]
[TD]P1[/TD]
[/TR]
</tbody>[/TABLE]
Is possible or only with VBA macro?
Thanks in advance