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.
Hello,
I am trying to create a table visualization that shows the week number for a date coming a column full of dates. The best i can do is get one date to appear using either the LASTNONBLANK function, but i cannot get more than one value to show. Instead I get the following error "A table of multiple values was supplied where a single value was expected". Is the weeknum function unable to cycle through column and produce more than one value? Any guidance is appreciated, thanks
Here is my code to try and produce the table:
Solved! Go to Solution.
Hi @jlandsm4785 ,
Do you want to the week number of the field [WeekEnding]? If yes, you can create a calculated column as below to get it:
Or you can update the formula of your measure [DateMeasure] as below:
DateMeasure = WEEKNUM(MAX(ShiftData[WeekEnding]),1)
Best Regards
Hi @jlandsm4785 ,
Do you want to the week number of the field [WeekEnding]? If yes, you can create a calculated column as below to get it:
Or you can update the formula of your measure [DateMeasure] as below:
DateMeasure = WEEKNUM(MAX(ShiftData[WeekEnding]),1)
Best Regards
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
63 | |
62 | |
52 | |
39 | |
24 |
User | Count |
---|---|
84 | |
57 | |
45 | |
42 | |
37 |