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.
Hi Everyone,
I am a newbie to PBI and I am struggling to create a simple measure on a column.
I have a date column CTT sign date and I am trying to create something like this.
If CTT sign date is current year then (measure1 * 1.52) - measure1 is a field from a table
IF(YEAR(VALUES('FACT Sales Pipeline'[CTT Sign Date])) = YEAR(TODAY()),(SUM('FACT Sales Pipeline'[Converted Booking]) * 1.52),0)
Solved! Go to Solution.
Hi @lprabhal,
Since you have to perform this operation for every date you should create a DAX column and not a measure. You can use:
Result = IF(YEAR('Table'[Date])=YEAR(TODAY()),'Table'[Field]*1.52,0)
Works for you? Mark this post as a solution if it does!
Check out this post of mine: Forecast Period - Previous Forecasts
Spare some time to read: How to Export Telemetry Data from Azure IoT Central into Power BI
Great! it's working, much appreciate your help
Hi @lprabhal,
Since you have to perform this operation for every date you should create a DAX column and not a measure. You can use:
Result = IF(YEAR('Table'[Date])=YEAR(TODAY()),'Table'[Field]*1.52,0)
Works for you? Mark this post as a solution if it does!
Check out this post of mine: Forecast Period - Previous Forecasts
Spare some time to read: How to Export Telemetry Data from Azure IoT Central into Power BI
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
109 | |
99 | |
77 | |
66 | |
54 |
User | Count |
---|---|
144 | |
104 | |
102 | |
87 | |
64 |