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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Raj2410
Helper I
Helper I

Monthly, Bi Monthly and Quaterly due maintenance visits that can be covered in one table output.

Hi Team,

Like I mentioned in the subject line.

I have some data where I have multiple equipments that have maintenance visits due and every maintenance visit has a different criteria.

 

Equipment 1x1 need Monthly Maintenance vist.

Equipment 2x2 need Bi Monthly Maintenance visit.

Equipment 3x3 need Quaterly Maintenance visit.

 

For every missed maintenace visit there is a penalty also.

Thats my source or you can say table 1.

Equipment No.ClassCUSTOMERWork due Applicable penalty 
1x1ARMMonthly $                    100
2x2BRMBi Monthly( Once in two months) $                    200
3x3CRMQuaterly (Once in 3 months) $                    300

 

Now I have the second table where I have the result of all 12 months for all 3 equipments.

 

Equipment No.ClassCUSTOMER WORK DATE  WORK HOURS 
1x1ARMJanuary5
1x1ARMFebruary0
1x1ARMMarch5
1x1ARMApril0
1x1ARMMay10
1x1ARMJune0
1x1ARMJuly5
1x1ARMAugust0
1x1ARMSeptember10
1x1ARMOctober5
1x1ARMNovember5
1x1ARMDecember0
Equipment No.ClassCUSTOMER WORK DATE  WORK HOURS 
2x2BRMJanuary5
2x2BRMFebruary0
2x2BRMMarch5
2x2BRMApril5
2x2BRMMay0
2x2BRMJune0
2x2BRMJuly2
2x2BRMAugust9
2x2BRMSeptember4.5
2x2BRMOctober0
2x2BRMNovember0
2x2BRMDecember0
Equipment No.ClassCUSTOMER WORK DATE  WORK HOURS 
3x3CRMJanuary1
3x3CRMFebruary2
3x3CRMMarch0
3x3CRMApril2
3x3CRMMay0
3x3CRMJune0
3x3CRMJuly4.5
3x3CRMAugust9
3x3CRMSeptember0
3x3CRMOctober0
3x3CRMNovember0
3x3CRMDecember0
     

 

Now I want to take this data in Power BI and create mutiple visuals.

Primary visual I want to create will be a table that can show result of both table something similar to below.

 

Raj2410_0-1683386464729.png

I would also like to have a slicer in power Bi so when I select the month of january it should show me results of all 3 equipments.

Raj2410_1-1683386549112.png

 

 

My main aim is to have - Monthly, Bi Monthly and Quaterly due maintenance visits covered in one table output and display result in one table.

 

Please suggest.

Thank you

 

1 ACCEPTED SOLUTION
v-tangjie-msft
Community Support
Community Support

Hi @Raj2410 ,

 

According to your description, here are my steps you can follow as a solution.

(1) My test data is the same as yours.

vtangjiemsft_1-1683616059873.png

(2) We can create calculated columns and a slicer table.

Please refer to my pbix file.

(3) Then the result is as follows.

vtangjiemsft_0-1683616046256.png

vtangjiemsft_2-1683616098266.png

If the above one can't help you get the desired result, please provide some sample data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. Thank you.

 

Best Regards,

Neeko Tang

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

View solution in original post

3 REPLIES 3
v-tangjie-msft
Community Support
Community Support

Hi @Raj2410 ,

 

According to your description, here are my steps you can follow as a solution.

(1) My test data is the same as yours.

vtangjiemsft_1-1683616059873.png

(2) We can create calculated columns and a slicer table.

Please refer to my pbix file.

(3) Then the result is as follows.

vtangjiemsft_0-1683616046256.png

vtangjiemsft_2-1683616098266.png

If the above one can't help you get the desired result, please provide some sample data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. Thank you.

 

Best Regards,

Neeko Tang

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

@v-tangjie-msftthank you this is good solution fore now.

Raj2410
Helper I
Helper I

Hi is there someone in the community that can help me with this one.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

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.