Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
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 September 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
113 | |
107 | |
99 | |
39 | |
30 |