The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi All,
I have a table with multi currency conversion factors, would like to summarize this table based on monthly average while maintaining all columns.
table is below
Solved! Go to Solution.
Hi @esmat
Of course you need to include all other columns
Summary Table =
GROUPBY (
ADDCOLUMNS ( 'Table', "Month Year", FORMAT ( 'Table'[Day], "MMM YYYY" ) ),
[Month Year],
"Value.USD", AVERAGEX ( CURRENTGROUP (), [Value.USD] ),
"Value.JPY", AVERAGEX ( CURRENTGROUP (), [Value.JPY] ),
"Value.BGN", AVERAGEX ( CURRENTGROUP (), [Value.BGN] )
)
thank you very much
it worked perfectly
You could use something like
Monthly summary =
ADDCOLUMNS (
SUMMARIZE ( 'Currency table', 'Date'[Year month] ),
"Avg USD", CALCULATE ( AVERAGE ( 'Currency table'[Value.USD] ) ),
"Avg JPY", CALCULATE ( AVERAGE ( 'Currency table'[Value.JPY] ) )
)
I got an error message as below
User | Count |
---|---|
27 | |
12 | |
8 | |
8 | |
5 |
User | Count |
---|---|
31 | |
15 | |
12 | |
7 | |
7 |