Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
Hi All,
As part of requirement, I want to create a Custom Table (Historic Information) with below information in Power Bi Desktop.
Can anyone help me to write DAX for the above mentioned columns(Monthly Order Details)?
I used the below option to create the table,
Please find the data below,
Let me know if you want any other information.
Thank in Advance,
Maadi.
Solved! Go to Solution.
Perhaps give this a go over your orders table
New Table = SUMMARIZE( ADDCOLUMNS( 'Orders', "Year",YEAR('Orders'[Order Date]), "Month",MONTH('Orders'[Ship Date]) ) , [Year], [Month], "Orders" , COUNTROWS('Orders') )
Hi @dataX,
Thanks for you replay.
Is it possible the same information keep in a separate static table.
This table will act like a historic table and will use for trending.
I dont know how to create the table with calculated columns(Year, Month & count of Orders).
Let me know is it possible or not? If yes then how to do that?
Thanks in Advance,
Maadi.
Perhaps give this a go over your orders table
New Table = SUMMARIZE( ADDCOLUMNS( 'Orders', "Year",YEAR('Orders'[Order Date]), "Month",MONTH('Orders'[Ship Date]) ) , [Year], [Month], "Orders" , COUNTROWS('Orders') )
User | Count |
---|---|
125 | |
108 | |
99 | |
63 | |
62 |
User | Count |
---|---|
135 | |
116 | |
101 | |
71 | |
61 |