Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
I have a table that looks like this:
fig(1)
When i import the table in powerbi the summarization is set by default and the table is summarised in the following way.
fig(2)
I have a requirement that when i summarise the table it should be in the following manner:
ie. when the value in F1=0, it should skip that whole row for summarisation. How can the summarisation take place.
Solved! Go to Solution.
Hi,
I am not sure if I understood your question correctly, but please check the below picture and the attached pbix file.
It is for creating a new table.
New Table =
UNION (
GROUPBY (
FILTER ( Data, Data[F1] <> 0 ),
Data[Item],
"@F1", SUMX ( CURRENTGROUP (), Data[F1] ),
"@F2", SUMX ( CURRENTGROUP (), Data[F2] ),
"@F3", SUMX ( CURRENTGROUP (), Data[F3] )
),
FILTER ( Data, Data[F1] = 0 )
)
Hi,
I am not sure if I understood your question correctly, but please check the below picture and the attached pbix file.
It is for creating a new table.
New Table =
UNION (
GROUPBY (
FILTER ( Data, Data[F1] <> 0 ),
Data[Item],
"@F1", SUMX ( CURRENTGROUP (), Data[F1] ),
"@F2", SUMX ( CURRENTGROUP (), Data[F2] ),
"@F3", SUMX ( CURRENTGROUP (), Data[F3] )
),
FILTER ( Data, Data[F1] = 0 )
)
User | Count |
---|---|
12 | |
12 | |
8 | |
8 | |
6 |
User | Count |
---|---|
27 | |
19 | |
13 | |
11 | |
7 |