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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Navaneetharaju_
Helper II
Helper II

Need Support in Dax Enhancement

Hi @Anonymous  and v-yiruan-msft
@AnonymousYou're Excellent,  Thanks for your tremendous support.

 

I have to one more enhancements from business,

 

Task name slicer not filtered the data in bar chart. and one more data field has added.

 

repeat_on - this field applies on days and minutes column.

 

for example:

TaskA  runs daily and also runs three times per day(15,18,21), so it should disply this time_bin slot also. 

 

TaskK runs monthly intervel, based on repeat_every field there is one more condition repeat_on have 12, 15 it means it should run every month 12 th and 15th also. if i select 12th Aug 2023 in my date slicer, this task j should come.

 

TaskJ runs minutes intervel, its run 30minutes once, so task j should  run from the start time every 30 minutes once, that count also we have to find and plot in our time_bin. 

(Note: some task it may runs 5 minutes once also, one hour time slot alone this task run count is 12. it may differs sometime 10 mins etc)

 

I have new repeat_by - minutes, repeat_every 30 mins 

task_namestart_datestart_timerepeat_everyrepeat_byrepeat_on
a3/2/202313:201.00days15,18,21
d3/31/202300:301.00days 
h4/18/202310:002.00weeks 
i4/18/202301:002.00days03,06,09
c6/26/202306:001.00days 
j7/20/202311:007.00days 
f7/24/202309:301.00days 
g7/24/202309:451.00days 
b7/3/202322:001.00days 
e7/30/202306:301.00days 
k8/11/202314:003.00months12,15
l9/20/202312:001.00year 
j9/20/202312:0130.00Minutes 

 

previously https://community.fabric.microsoft.com/t5/Desktop/Need-Support-in-Problem-approaching/m-p/3635138#M1190628,
As per your guidance, i have create Time_bin table and Dax measure. I want to enchance the measure with above scenario's and need to add Task_name field slicer, Repeat_by field Slicer.

Please help me to enhance the dax and also help me to use task_name and repeat_by slicer.

 

I hope, i explained clearly.

3 REPLIES 3
Anonymous
Not applicable

Hi @Navaneetharaju_ ,

 

Based on the information you provided, I need to know if you currently have any other or smaller time units such as hours, seconds. If there are smaller units of time, you need to convert the days, months and years in repeat_by to seconds. Incidentally, when you say minutes, is the time fixed or active?


You can provide more details on what you want to achieve and your final expected output. This will enable us to better solve the problem for you.

 

How to Get Your Question Answered Quickly - Microsoft Fabric Community

If it does not help, please provide more details with your desired out put and pbix file without privacy information.

 

Best Regards,

Yifan Wang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi @v-yifanw-msft , 

@v-xinruzhu-msft 

I have provided the details.
can you please help me to get this done. I have running on deadline.

Hi @Anonymous , 

 

I have to create a task run book report, these tasks are running in different environment and various servers. I have the details of the task_table, it contains taskname, task_id, repeat_on, repeat_every, repeat_by, Server_details, Category.

I want to create a single report with Slicers like Task name, Environment, Repeat_every, Date slicer

Report Visual should be, 

Visual 1 : Matrix or Bar chart - it should contains Task name, Tim_bin, Running task count

Visual 2 : Pie chart - Total_tasks in the table, tasks running on selected date

Visual 3 : Pie Chart - Task_type and Running count on selected date

Visual 4 : Bar Chart - Task_business_category , Running count on selected date

  

Repeat_by contains only days, Weeks, Months, Minutes, Years only. we don't have any further field there.

And more Task end occurance has added.

task_namestart_datestart_timerepeat_everyrepeat_byrepeat_onEnd_OccuranceEnd when
a03-02-2313:201days15,18,21 never
d3/31/20230:301days  never
h4/18/202310:002weeks  never
i4/18/20231:002days03,06,09 never
c6/26/20236:001days  never
j7/20/202311:007days  never
f7/24/20239:301days  never
g7/24/20239:451days  never
b07/03/202322:001days 5after
e7/30/20236:301days  never
k08/11/202314:003months12,15 never
l9/20/202312:001year  never
j9/20/202312:0130Minutes 6after

 

task running restriction has added now, like
Task B should running daily on 22:00, after 5 days it should not come in our chart.

 

Task j should running 30 minutes intervel daily, after 6 occurance it should stop. 20 th Sep 2023 - 12:01 it started after 6 runs it should end.

 

Please provide your support, that will be more helpful.

 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.