User Profile
Luca2020
Helper I
Joined 6 years ago
User Widgets
Contributions
Employees Stamp
Hi, I have a table with the daily entry and exit records for each employee. empl_id date type 1036 29/12/2022 14:08 IN 1036 29/12/2022 22:08 OUT 1036 31/12/2022 07:21 IN 1036 31/12/2022 12:44 OUT I would prefer to have a table with the entry and exit records as different columns instead. empl_id entry exit h 1036 29/12/2022 14:08 29/12/2022 22:08 8 1036 31/12/2022 07:21 31/12/2022 12:44 5 Some employees work at night so they start one day and finish the next one. Can someone help me? ThanksSolved2.1KViews0likes3CommentsRe: Management by Objectives (MBO) with Power Bi
That might work: Mbo = IF([Ebitda Valutazione] = 0, 0, IF(AND([Ebitda Valutazione] >= 1, [ROI Valutazione] = 0 && [Appraisal Valutazione] = 0), 0, IF(AND([Ebitda Valutazione] >= 1, OR([ROI Valutazione] = 0, [Appraisal Valutazione] = 0)), 1, IF(AND([Ebitda Valutazione] > 1 && [ROI Valutazione] > 1 && [Appraisal Valutazione] > 1, NOT([Ebitda Valutazione] = 3 && [ROI Valutazione] = 3 && [Appraisal Valutazione] = 3)), 3, IF([Ebitda Valutazione] = 3 && [ROI Valutazione] = 3 && [Appraisal Valutazione] = 3, 4, 2)))))934Views1like0CommentsManagement by Objectives (MBO) with Power Bi
Hi, I have to calculate the amount of bonuses to be distributed to the managers of the company. The managers are evaluated by using 3 variables --> EBITDA, ROI and Appraisal. The evaluation can be 0, 1, 2 or 3 which means I have 64 possible combinations of KPI and evaluation (0-0-1 or 1-3-2, ...). - If two KPI out of three have been evaluated 0 or just the EBITDA is 0, then the bonus is 0 €. - If two KPI have been evaluated 1 or more, and the third is 0 (but the KPI with 0 cannot be the EBITDA), then the bonus is 1000 €. - If all three KPI have been evaluated at least 1 or more, then the bonus is 2000 € (ex 1-2-2 or 1-1-1 or 1-3-2). - if all three KPI have been evaluated at least 2 or more, then the bonus is 3000 €. - If all three KPI have been evaluated 3, then the bonus is 4000 €. Currently I've create this measure Mbo = IF([Ebitda Evaluation] = 0, 0, IF([Ebitda Evaluation] = 3 && [ROI Evaluation] = 3 && [Appraisal Evaluation] = 3, 4, ... but it's incomplete since I require a quick rule for the remaining cases. I'd prefer avoiding writing down all 64 combinations. Can someone help me with the measure? Thanks!Solved958Views0likes3CommentsRe: Management by Objectives (MBO) with Power Bi
The difficult part is to find the general rule because: [Ebitda Evaluation] + [ROI Evaluation] + [Appraisal Evaluation] >= 6, 3, But if the evaluations are 0 - 3 - 3, the total sum is 6 but the bonus is 1.000 € and not 3.000 € because they achieved only two out of three KPI. If the evaluations are 1 - 3 - 3, the bonus is 2.000 € and not 3.000 € because at least one evaluation is below 2939Views0likes1CommentSummarize using column from other table
Hi, I've a table - CRM PREVENTIVI - with a list of Items and a table - TEMPI DI PRODUZIONE - with the month (or months) when those Items were made. I need a new table with all the Items and the months of production like: Table = SUMMARIZE('CRM PREVENTIVI' ; 'CRM PREVENTIVI'[Item]; "Month"; LOOKUPVALUE('*TEMPI PRODUZIONE'[Month]; '*TEMPI PRODUZIONE'[Item]; 'CRM PREVENTIVI'[Item])) Table: ITEM MONTH 1 January 2 January 2 February I need this table because not all the Items we sell are made by us, some of them we just buy and resell so not all of them are included in TEMPI DI PRODUZIONE. I cannot use summarize(TEMPI DI PRODUZIONE; ....) because of this reason. I need summarize(CRM PREVENTIVI, ....) to include them all. I've tried to create two different tables with summarize and then use UNION, It worked perfectly but when I tried to create a relation between this new union table and CRM PREVENTIVI, a message told me I could not because of a circular dependence Thanks!553Views0likes1CommentSum rows with same id and then divide each row for that sum
Hi, I've a table with ID, Hours of Working and Date of Working. I'd like to calculate the completion rate for each ID for each month, like: ID H DATE 1 2 30 JANUARY 2021 1 3 31 JANUARY 2021 1 2 01 FEBRUARY 2021 ID 1 took 7 hours of work, 5 h in january and 2 h in february. Completion Rate in January 5/7 = 71% I need this % to divide costs and revenues according to this % (true revenue in january 100.000 € * 71%) I'd prefer solving this with a measure but a calculated column is also fine. ThanksSolved1.2KViews0likes1Comment- 927Views0likes0Comments
Re: New Table merge
Thanks! however, does Group By help also for the new table: Corrige = var _max = date(year(MAX('PRIMANOTA RIGHE'[Data Primanota]))-1,12,31) var _min = date(year(MAX('PRIMANOTA RIGHE'[Data Primanota]))-1,1,1) RETURN SUMMARIZE('PRIMANOTA RIGHE', 'PIANO DEI CONTI'[Codice Conto], "Imp_Coge", Sumx(filter('PRIMANOTA RIGHE', 'PRIMANOTA RIGHE'[Data Primanota] >=_min && [Data Primanota]<=_max && 'PIANO DEI CONTI'[Codice Conto] = earlier('PIANO DEI CONTI'[Codice Conto])),[Imp_COGE]), "Data Primanota", date(year(TODAY()),1,1)) I don't think I can replicate all this dax formulas using the query editor,1KViews0likes1Comment
Data Privacy
Microsoft Fabric Community and Privacy
To learn more about how we manage your data, please review the Microsoft Fabric Community Data Privacy guide.