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
kenblack
Helper I
Helper I

Rule based calcs in MS BI

I have a challenging puzzle which I am trying to resolve I have a data set where I am trying to apply the followimg rules to count discharges from a tank

spill counting starts when first discharge occurs

• any discharge(s) in the first 12 hour block is counted as 1 spill

• any discharge(s) in the next and subsequent 24 hour blocks are each counted as 1 additional spill per block

• this counting continues until there is a 24 hour block with no discharge.

• for the next discharge after 24 hour block with no discharge, the sequence begins again.

The data set is at the end of the following link I hope it works

https://nwgcloud-my.sharepoint.com/:x:/r/personal/ken_black_nwl_co_uk/_layouts/15/Doc.aspx?sourcedoc...

 

Link to one drive 

 

 

 

 

I am fairly new to the BI environment but would really appreciate any help with this just to get me ...

 

Thanks in advance

 

Ken 

 

4 REPLIES 4
MFelix
Super User
Super User

Hi @kenblack ,

 

The link you have shared is asking for password can you share it without password please.


Regards

Miguel Félix


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

Proud to be a Super User!

Check out my blog: Power BI em Português



Hi @kenblack ,

 

It's still aqsking for password, can you share it trhoug a wetransfer link please.


Regards

Miguel Félix


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

Proud to be a Super User!

Check out my blog: Power BI em Português



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.