The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
I have a DIM item table and a Fact purchse table.
I created a measure to calculate the 2022-2023 purchase spend for each item.
I am trying create another measure that calculates 10% of the 2022-2023 purchase spend. I want this measure to stay the same for each item, so that it is a static value. I also want it to be recalculated based on the context of the items. So if it is top 10 items, it would be the sum of 10% of the purchase spend for each row, and if it is top 20 items, same thing.
Here is what I have now:
User | Count |
---|---|
16 | |
8 | |
7 | |
6 | |
6 |
User | Count |
---|---|
26 | |
13 | |
12 | |
8 | |
8 |