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
KBO
Memorable Member
Memorable Member

Last Status based on Date/ Time

Hello together,
I have a question is there a DAX formula with which you can calculate the last status?
So I have a computer with several packages installed, sometimes not successfully. Now I would like to know if all packages on the computer have passed successfully, based on the last date/time. Is that possible?

It should serve the overview which computers are not yet completely finished. (Like monitoring view)

Status.png

 

Best Kathrin

6 REPLIES 6
Ashish_Mathur
Super User
Super User

Hi,

 

Share the link from where i can download your PBI file and also show the expected result so that i can compare my result with your expected answer.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
ryan_mayu
Super User
Super User

Hi KBO,

 

You can use group by function. Hope this can help you.

 

1.JPG2.JPG





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




KBO
Memorable Member
Memorable Member

I tried out this solution but I get an error message:

 

MyValues Column = SUMMARIZE(VIEW_REPO_ARCHIVEDISTJOBS;VIEW_REPO_ARCHIVEDISTJOBS[COMPUTERNAME];
"LastDate"; Max(VIEW_REPO_ARCHIVEDISTJOBS[LASTMODTIME]);
"ItemCount"; CALCULATE((Max(VIEW_REPO_ARCHIVEDISTJOBS[RESULT]));
Filter(VIEW_REPO_ARCHIVEDISTJOBS; VIEW_REPO_ARCHIVEDISTJOBS[LASTMODTIME] = Max(VIEW_REPO_ARCHIVEDISTJOBS[LASTMODTIME]))))

 

The expression refers to multiple columns. Multiple columns cannot be converted to a scalar value.

 

Where is my mistake in thinking?

 

Best Kathrin

Hi KBO,

 

You should create a calculate column, not a calculate table. If still can't meey your requirement, could you share some sample data and clarify more details about your logic and expected result?

 

Regards,

Jimmy Tao

If you like @v-yuta-msft I can send you a dummy-data file? I don't see how I can attached a file to my post. 

 

Best Kathrin

Hi KBO,

 

You can upload your sample file to some cloud storage(e.g.: microsoft onedrive or google cloud storage) if possible.

 

Regards,

Jimmy Tao

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors
Top Kudoed Authors