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.
Hello All,
Looking for some DAX help in creating a measure for share % of total sales year to date based on fields I have in a parameter table and am using as a slicer in my visual.
First measure I created was to calculate my total POS $ YTD for current week and year based on our business week planning calendar.
Example of how my field parameter slicer is setup:
Kind Regards,
Brandon B
Solved! Go to Solution.
% =
Divide(
[POS $ YTD],
Calculate(
[POS $ YTD],
Allselected()
)
)
% =
Divide(
[POS $ YTD],
Calculate(
[POS $ YTD],
Allselected()
)
)
Deku!!!! Thank-you so much for your help on this. Worked perfectly for what I needed to show in the visual and works perfect based on my parameter slicer switch. Can't thank-you enough.
User | Count |
---|---|
16 | |
8 | |
7 | |
6 | |
6 |
User | Count |
---|---|
26 | |
13 | |
12 | |
8 | |
8 |