Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now
Hi @Anonymous
Hope attached file satisfies your requirement
Insurance =
SUMX (
FILTER (
'Table',
'Table'[Nationality ] = "Non-Italy"
),
IF (
'Table'[Years] < 3,
'Table'[Salary] / 24,
'Table'[Salary] / 12
)
)
hello @Anonymous ,
please try:
Measure =
VAR selected = SELECTEDVALUE(Table1[Nationality ])
return
IF( selected <> "Italy" && MAX(Table1[Years]) < 3,SUM(Table1[Salary])/24,IF(selected <> "Italy",SUM(Table1[Salary])/12,0))
Check out the October 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
29 | |
14 | |
11 | |
10 | |
9 |