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.
Measure Help please
I have a table with the following fields
From those fields I need to get the percentage total for that Quantity Sold is over 2019 Attendance.
So if the user select 2021-05-17 - 2021-05-20 I would need the sum of the quantitySold and the sum of the 2019 Atteandance and then do a percentage on that.
Solved! Go to Solution.
Hey @kdixon5490 ,
assuming that the user selects the dates using a date slicer, create this measure:
measure=
divide(
calculate(sum('thetablename'[Quantity Sold]))
, calculate(sum('thetablename'[2019 Attendance]))
)
If this does not provide what you are looking for, create a pbix file that contains sample data, but still reflects your data model. Upload the pbix to onedrive or dropbox and share the link. If you are using Excel to create the sample data, share the Excel file as well.
Regards,
Tom
@TomMartens 's measure should work, use either slicer or filter panel will automatically change the measure. Please take a try.
This did not work I'm using the filter panel to select dates.
Hey @kdixon5490 ,
assuming that the user selects the dates using a date slicer, create this measure:
measure=
divide(
calculate(sum('thetablename'[Quantity Sold]))
, calculate(sum('thetablename'[2019 Attendance]))
)
If this does not provide what you are looking for, create a pbix file that contains sample data, but still reflects your data model. Upload the pbix to onedrive or dropbox and share the link. If you are using Excel to create the sample data, share the Excel file as well.
Regards,
Tom
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 |