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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
jibran
Helper II
Helper II

Dax measure to show count of today's date data

Hi,

I am working on to create a sales dashboard for our team and stuck on one of the formula in which I want to show total amount of customers join us on today's date. When customer join our portal we store the date as of Create date on our database. I tried this formula 

TodayDate = FILTER(aspnet_membership,aspnet_membership[CreateDate] = TODAY())

 But it cameup with an error that Multiple columns cannot be converted to a scalar value.

Can you please assist me on this?

 

I can provide more information with screen shot if needed.

 

Many Thanks

 

1 ACCEPTED SOLUTION
v-haibl-msft
Microsoft Employee
Microsoft Employee

@jibran

 

Not sure what is aspnet_membership table like. I assuming we have a table like below.

Dax measure to show count of today's date data_1.jpg

 

We can create a measure with following DAX formula.

Measure = 
CALCULATE (
    DISTINCTCOUNT ( aspnet_membership[Customer Join] ),
    aspnet_membership[CreateDate] = TODAY ()
)

Dax measure to show count of today's date data_2.jpg

 

Best Regards,

Herbert

View solution in original post

5 REPLIES 5
v-haibl-msft
Microsoft Employee
Microsoft Employee

@jibran

 

Not sure what is aspnet_membership table like. I assuming we have a table like below.

Dax measure to show count of today's date data_1.jpg

 

We can create a measure with following DAX formula.

Measure = 
CALCULATE (
    DISTINCTCOUNT ( aspnet_membership[Customer Join] ),
    aspnet_membership[CreateDate] = TODAY ()
)

Dax measure to show count of today's date data_2.jpg

 

Best Regards,

Herbert

Hi,

I tried to add below formula but still is not displaying today's date data.

Formula that I use is 

Vehicle Addition Counter1 = CALCULATE ( DISTINCTCOUNT( vehicles[ID] ), Vehicles[DateAdded] = TODAY())

 date added.JPG

@jibran

 

Which visual did you use for this measure “Vehicle Addition Counter1”?

If possible, could you please provide your PBIX file to me?

 

Best Regards,

Herbert

Hi Herbert,

Thanks for your help actually your formula was right I just had to change the date transformation to make it worked

Thanka a lot for your help

Many Thanks

 

Jibran Ishtiaq

Anonymous
Not applicable

Hi @jibran,

 

I'm not getting anything using this formula. Could you please explain how you transformed the date.

 

Thank you

Regards

Sunil

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.