Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

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.

Reply
KevinOGC
Frequent Visitor

Saving measure value into table

Hi everyone,

 

I have a table 'advertisements' which looks like below:

 

idis_online
1true
2false
3false
4true
5true
6false

 

I want to count the unique id where online is true, so I made the DAX like below:

Online Ads = CALCULATE(
DISTINCTCOUNT(Advertisements[id]);
FILTER (Advertisements;Advertisements[is_online]=True))
 
Now the is_online status changes over time and I want to save this measure in a table on a daily basis (at a specific moment) which should look like:
 
dateis_online
1/1/20192
1/2/20196
1/3/20192
1/4/20194
1/5/20191
1/6/20194

 

How can I achieve this?

2 REPLIES 2
v-chuncz-msft
Community Support
Community Support

@KevinOGC 

 

You may refer to the following posts.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

@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?

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.