Friday, 11 January 2019
Thursday, 10 January 2019
Create a new table from an Existing table with filter condtion in
To create a new table with filter condition like SQL using where clause. Here we can use CALCULATETABLE and Summarize function.
Steps :
- Go to Power bi desktop version
- Go to modelling
- New Table
- Put below formulas
New_Table_name = CALCULATETABLE ( SUMMARIZE ( 'Old_Table', 'Old_Table'[Col1], 'Old_Table'[Col2], 'Old_Table'[Col3], 'Old_Table'[Col4],Old_Table[Col5], ), 'Old_Table'[ID]=1 )
Subscribe to:
Posts (Atom)