Forum Discussion
admin11
Memorable Member
5 years agoProblem Statement :- Create P&L Summary Table for GL ANALYSIS
Hi All https://www.dropbox.com/s/w3gim924bo13qql/PBT%20GL%20VER0025%20ONLY%20TI%20VIJAY%20V003.pbix?dl=0 Above link is the PBI file. Paul
- 5 years ago
Hi, admin11
You can create a Measure to cope with it.
SUM_YTD REV&COGS&EXP&OTH = SUMX('Table','Table'[Switch_YTD REV&COGS])
The result looks like this:
Best Regards,
Caiyun Zheng
v-robertq-msft
Community Support
5 years agoHi, admin11
According to your sample picture, you want the column [Switch_YTD REV&COGS1] can also show the total in the total row, right? You can create a new measure:
Switch_YTD REV&COGS1 =
var _new=
SUMMARIZE('Table','Table'[REV&COGS],"_value",[Switch_YTD REV&COGS])
return
IF(HASONEVALUE('Table'[REV&COGS]),[Switch_YTD REV&COGS],SUMX(_new,[_value]))
Then place the measure into the original table chart to replace the original [Switch_YTD REV&COGS1], you can get what you want, like this:
You can download my test pbix file here
Best Regards,
Community Support Team _Robert Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.