Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi guys!
I have a table (Production) in which there is the daily production of the company's personnel. Above a production limit, a productivity bonus is given. The logic is simple:
Solved! Go to Solution.
Try
Bonus =
VAR SummaryTable =
ADDCOLUMNS (
SUMMARIZE ( 'Production', 'Production'[Employee ID], 'Date'[Date] ),
"@value",
IF (
CALCULATE ( SUM ( 'Production'[Production] ) ) >= [ProductionTarget],
10,
BLANK ()
)
)
RETURN
SUMX ( SummaryTable, [@value] )
Try
Bonus =
VAR SummaryTable =
ADDCOLUMNS (
SUMMARIZE ( 'Production', 'Production'[Employee ID], 'Date'[Date] ),
"@value",
IF (
CALCULATE ( SUM ( 'Production'[Production] ) ) >= [ProductionTarget],
10,
BLANK ()
)
)
RETURN
SUMX ( SummaryTable, [@value] )
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 8 | |
| 5 | |
| 5 | |
| 3 | |
| 3 |
| User | Count |
|---|---|
| 18 | |
| 10 | |
| 9 | |
| 7 | |
| 7 |