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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
KBO
MVP

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
MVP

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
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.