Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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?
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
105 | |
96 | |
79 | |
67 | |
62 |
User | Count |
---|---|
137 | |
105 | |
104 | |
80 | |
63 |