Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

Get row count (With condition?) from another table

Hi all,   First time posting here, I'm also new to Power BI and DAX. I would like to get the row count from another table. There are 2 tables, Yield Table and Defect Table   Yield Table (Summari...
  • amitchandak's avatar
    amitchandak
    4 years ago

    Anonymous , ideal is you create Date, Model, Process table and join with both table and analyze the data with help of those. You need to be in star schema

    https://www.sqlbi.com/articles/the-importance-of-star-schemas-in-power-bi/

     

    For date you can create a date table using calendar

     

    for model and Process , you can create table like

    Model  = distinct(union(distinct(Table1[Model]),  distinct(Table2[Model]) ))

     


    To get the best of the time intelligence function. Make sure you have a date calendar and it has been marked as the date in model view. Also, join it with the date column of your fact/s. Refer :radacad sqlbi My Video Series Appreciate your Kudos.