The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event! Join us in Stockholm, Sweden from September 24-27, 2024.
2-for-1 sale on June 20 only!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hello all,
I created one table Pivot but I have an issue, I try to make an average . But I need Average not AverageX it's possible ?
@Vanessa250919
I modified it but not sure if it works for you, please try:
pivot =
ADDCOLUMNS (
SUMMARIZE (
MASTERTABLE,
MASTERTABLE[POSTAL_CODE],
MASTERTABLE[DIENST],
MASTERTABLE[POSTALCODE_DIENST]
),
"PAK_VOL_REEL", CALCULATE ( AVERAGE ( MASTERTABLE[PAK_VOLUME_REEL] ) ),
"PAK_VOL_ORG", CALCULATE ( AVERAGE ( MASTERTABLE[PAK_VOLUME_ORG] ) ),
"EE_VOL_ORG", CALCULATE ( AVERAGE ( MASTERTABLE[EE_INDIV_ORG] ) ),
"EE_VOL_REEL", CALCULATE ( SUM ( MASTERTABLE[EE_INDIV_REEL] ) ),
"ENA_VOL_ORG", CALCULATE ( AVERAGE ( MASTERTABLE[ENA_VOLUME_ORG] ) ),
"ENA_VOL_REEL", CALCULATE ( SUM ( MASTERTABLE[ENA_VOLUME_REEL] ) ),
"FNGF_VOL_ORG", CALCULATE ( AVERAGE ( MASTERTABLE[FNGF_VOLUME_ORG] ) ),
"FNGF_VOL_REEL", CALCULATE ( SUM ( MASTERTABLE[FNGF_VOLUME_REEL] ) ),
"KRANT_VOL_ORG", CALCULATE ( AVERAGE ( MASTERTABLE[KRANT_VOLUME_ORG] ) ),
"KRANT_VOL_REEL", CALCULATE ( SUM ( MASTERTABLE[KRANT_VOLUME_REEL] ) )
)
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
Hey ! thanks !
It's ok it's working, but I try to have the same resulte in this table then in this measure :
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the June 2024 Power BI update to learn about new features.
User | Count |
---|---|
63 | |
32 | |
21 | |
16 | |
15 |
User | Count |
---|---|
115 | |
33 | |
30 | |
24 | |
21 |