Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hi everyone,
I have a table 'advertisements' which looks like below:
id | is_online |
1 | true |
2 | false |
3 | false |
4 | true |
5 | true |
6 | false |
I want to count the unique id where online is true, so I made the DAX like below:
date | is_online |
1/1/2019 | 2 |
1/2/2019 | 6 |
1/3/2019 | 2 |
1/4/2019 | 4 |
1/5/2019 | 1 |
1/6/2019 | 4 |
How can I achieve this?
You may refer to the following posts.
@v-chuncz-msft thanks a lot for your answer!
There is no colum/table with the is_online date, so I need to count the is_online daily and save it to somewhere. All the given examples using an available date.
Are there options without a date is_online relation?