cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Chavas
Helper II
Helper II

How to count multiple iteration on the same cell

Hello I am facing an issue on how to get a measure.

I have a table called tasks.

Each task row has a cell called Details which is fulfilled like this

************************************ 13-Aug-20 1:27 AM @ Person1: ************************************
lorem
************************************ 12-Aug-20 4:44 PM @ Person2 ************************************

ipsum

************************************ 12-Aug-20 6:00 AM @ Person3 ************************************

lorem

************************************ 10-Aug-20 13:27 AM @ Person2 ************************************
ipsum


And I will need to count the times that a Person has written for the last: 7 and 30 days for the whole table.
So I can produce a table like this:
 

 Last 7 daysLast 30 days
Person 1     13
Person 2    48
Person 3   36



Splitting by delimiter is not a way as far as n columns may appear so I have no idea on how to filter.

I am thinking and I have no clue on how to do it. Any advice will be fantastic

Thanks in advance

1 ACCEPTED SOLUTION
Chavas
Helper II
Helper II

I fixed it.

What I did is splitting by rows on the query by the **** array.
Then with manipulation I get all the times at one column and set the column type as data.

Remove all the errors

From here is pretty straight forward.

View solution in original post

1 REPLY 1
Chavas
Helper II
Helper II

I fixed it.

What I did is splitting by rows on the query by the **** array.
Then with manipulation I get all the times at one column and set the column type as data.

Remove all the errors

From here is pretty straight forward.

Helpful resources

Announcements
June 2022 update 768X460.jpg

Check it out!

Click here to read more about the June 2022 updates!

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Power BI Dev Camp Session 23 768x460.jpg

Check it Out!

Mark your calendars and join us on Thursday, June 30 at 11a PDT for a great session with Ted Pattison!

June 20 episode 7 with aka link 768x460.jpg

The Power BI Community Show

Join us on June 20 at 11 am PDT when Kim Manis shares the latest on Azure Synapse analytics, the Microsoft Intelligent Data Platform, and notable Power BI Updates from Microsoft Build 2022.

Top Solution Authors
Top Kudoed Authors