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.
Hello everyone,
I'm new to Power BI and I need your help with creating a formula for a YTD revenue and to implement this in a filter with a simple "YES YTD" and "NO YTD".
Could anyone please help me with this?
Cheers,
Solved! Go to Solution.
Hi, @Stroopwafels
See if this is what you need ....
1. Values with YTD calculation
2. Clacular value without YTD.
3. Browse through this information filter ...
if that's what you need
1. Create a measure with YTD .... [YES_YTD]
2. Create a measurement without YTD .... [NO_YTD]
3. Create an auxiliary table to serve as filters with 'Yes YTD' and 'No YTD' options.
4. Create a media that identifies what you selected
Item_Selected = min (TABLEOPCAO [NameOpcao])
5. Create a media to show the selected YTD measurement.
YTD_Selected = IF ( HASONEVALUE (TABLEOPCAO [NameOpcao]), IF ([Item_Selected] = "Yes YTD", [YES_YTD], [NO_YTD]), 0 )
Please try and test using it. And please mark the right answer as answer if your issue has been resolved, otherwise, please feel free to ask if you have any other issue.
Best Regards,
Rfranca
Hi, @Stroopwafels
See if this is what you need ....
1. Values with YTD calculation
2. Clacular value without YTD.
3. Browse through this information filter ...
if that's what you need
1. Create a measure with YTD .... [YES_YTD]
2. Create a measurement without YTD .... [NO_YTD]
3. Create an auxiliary table to serve as filters with 'Yes YTD' and 'No YTD' options.
4. Create a media that identifies what you selected
Item_Selected = min (TABLEOPCAO [NameOpcao])
5. Create a media to show the selected YTD measurement.
YTD_Selected = IF ( HASONEVALUE (TABLEOPCAO [NameOpcao]), IF ([Item_Selected] = "Yes YTD", [YES_YTD], [NO_YTD]), 0 )
Please try and test using it. And please mark the right answer as answer if your issue has been resolved, otherwise, please feel free to ask if you have any other issue.
Best Regards,
Rfranca
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 |
---|---|
107 | |
98 | |
77 | |
66 | |
53 |
User | Count |
---|---|
144 | |
104 | |
100 | |
86 | |
64 |