Friday, 14 December 2018

If Else condition in Power BI


If Else condition in Power BI: -
    1.    Open Your data set in Power BI desktop
      2. Go to Query Editor
      3 . Go to Add Column
      4.Go to Custom Column
      5. Change your header name
Output:

Total Number of Rows from a table in Power BI


Total Number of Rows in a Table: -
    1. Go to Desktop mode on Power Bi
    2. Go to Modelling
    3. Go to New Column
    4. Add this Formula
    5.  Number_Of_Rows = COUNTROWS('Sales Data') – Your table_name.
    6.    Enter
It will create a new column and will update the total number of rows from your table.