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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
celchar98
Regular Visitor

created and deleted id between a date range

vswrvb4y.png

I have this table loaded in Power BI. I want to create a DAX measure that reflects the following:

June 1- 5 dataflows created- 0 deleted

June 2 - no new dataflows created- 0 deleted

June 3- no new dataflows created- 0 deleted

june 4- 1 new dataflow created- 3 deleted

june 5 - 0 new dataflows created- 1 deleted

So between june 1 and june 5, 6 dataflows were created and 4 were deleted 
Please can someone help!! very appreciated. I want this logic to hold as I add more data.

2 REPLIES 2
celchar98
Regular Visitor

Thank you for your reply. 
Here is the file I am working with. 
I want to know how many dataflows were created and deleted daily. 

So I want the DAX to return the following:

On June 1:
5 dataflows created
0 deleted

 

On June 2:
no new dataflows were created ( because there is no new id that appeared compared to yesterday ) 
0 deleted

On June 3
no new dataflows created
0 deleted

On june 4
1 new dataflow created ( df 6) 
3 deleted

On june 5 
0 new dataflows created

1 deleted

So between june 1 and june 5, 6 dataflows were created and 4 were deleted 

Dataflow IDDataflow Scan IDDataflow NameDataflow scan dateWorkspace IDWorkspace Name 
Df145078 Df1States6/1/2023Wk1Carla Workspace 
Df245078 Df2Hospitals6/1/2023Wk1Carla Workspace 
Df145079 Df1States6/2/2023Wk1Carla Workspace 
Df345078 Df3Cases6/1/2023Wk1Carla Workspace 
Df245079 Df2Hospitals6/2/2023Wk1Carla Workspace 
Df145080 Df1States6/3/2023Wk1Carla Workspace 
Df145081 Df1States6/4/2023Wk1Carla Workspace 
Df245080 Df2Hospitals6/3/2023Wk1Carla Workspace 
Df345079 Df3Cases6/2/2023Wk1Carla Workspace 
Df345080 Df3Cases6/3/2023Wk1Carla Workspace 
Df445078 Df4Immigration data6/1/2023Wk2Chris Workspace 
Df445079 Df4Immigration data6/2/2023Wk2Chris Workspace 
Df545078 Df5Immigration procedure6/1/2023Wk2Chris Workspace 
Df545079 Df5Immigration procedure6/2/2023Wk2Chris Workspace 
Df545080 Df5Immigration procedure6/3/2023Wk2Chris Workspace 
Df445080 Df4Immigration data6/3/2023Wk2Chris Workspace 
Df445081 Df4Immigration data6/4/2023Wk2Chris Workspace 
Df645081 Df6US Immigration Data6/4/2023Wk2Chris Workspace 
Df645082 Df6US Immigration Data6/5/2023Wk2Chris Workspace 
Df445082 Df4Immigration data6/5/2023Wk2Chris Workspace 
lbendlin
Super User
Super User

Please provide sample data (with sensitive information removed) that covers your issue or question completely, in a usable format (not as a screenshot).
https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...
Please show the expected outcome based on the sample data you provided.

https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447...

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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

Top Kudoed Authors