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
Hello,
I have a column on my model which give me the category of the product. And i have a calculated column for sales per product. I need to calculate the annualized sales per category.
In excel i use Annualised Sales = if(category = "ABC", Sales / 1.2, if(category = "XYZ", Sales / 3.5),0)
Category column is part of the model and is not a calculated value. Sales is a calculated measure created on BI.
Please help.
Warm Regards
Varun Raj
Solved! Go to Solution.
Hi @varunv11,
You could new a measure:
Annualised Sales =
IF (
SELECTEDVALUE ( Table[Category] ) = "ABC",
[Sales] / 1.2,
IF ( SELECTEDVALUE ( Table[Category] ) = "XYZ", [Sales] / 3.5, 0 )
)
Best regards,
Yuliana Gu
Hi @varunv11,
You could new a measure:
Annualised Sales =
IF (
SELECTEDVALUE ( Table[Category] ) = "ABC",
[Sales] / 1.2,
IF ( SELECTEDVALUE ( Table[Category] ) = "XYZ", [Sales] / 3.5, 0 )
)
Best regards,
Yuliana Gu
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 38 | |
| 36 | |
| 33 | |
| 33 | |
| 29 |
| User | Count |
|---|---|
| 134 | |
| 96 | |
| 78 | |
| 67 | |
| 65 |