Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
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
User | Count |
---|---|
98 | |
76 | |
75 | |
48 | |
27 |