Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi,
I am trying to create a calculated column using DAX Calculate function.
I want all my rows to have the same value that was calculated using CALCULATE function.
I want all rows of thisFiscalWeek column to be populated with the outcome of CALCULATE function.
When I use this code it is only populating one row. I want that value to be in every row.
Thank you for you help in advance
Solved! Go to Solution.
Hi @Anonymous
picture is not visible- too small. Still, try v2 below
thisFiscalWeek v2 =
CALCULATE(MAX('Date Hierarchy'[fiscalWeek]), 'Date Hierarchy'[rDate] = 0, ALL())
Proud to be a Super User!
Hi @Anonymous
picture is not visible- too small. Still, try v2 below
thisFiscalWeek v2 =
CALCULATE(MAX('Date Hierarchy'[fiscalWeek]), 'Date Hierarchy'[rDate] = 0, ALL())
Proud to be a Super User!
User | Count |
---|---|
25 | |
12 | |
8 | |
6 | |
6 |
User | Count |
---|---|
26 | |
12 | |
11 | |
8 | |
6 |