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.
I have the following DAX code in my PBI file. I have only changed the data sources from .xlsx files to .csv files. All the data and datatypes are identical. After changing the data sources though, this code gives me an error:
MAX_User =
CALCULATE(
MAXX(
ALLSELECTED('CALC NP''s (Unique)'),
'CALC NP''s (Unique)'[User]
),
GROUPBY(
'CALC NP''s (Unique)',
Date[Week],
'CALC NP''s (Unique)'[Patiëntnumber]
)
)
For 'Date[Week]' it now suddenly says 'Parameter is not the correct type'. Does anyone have an idea of why this is?
Solved! Go to Solution.
@Sohan , Check your relationships. I think that has broken, It may happen when changes sources from one type to another
Thank you so much! The relationship was indeed broken for some reason.
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 |
---|---|
72 | |
70 | |
37 | |
29 | |
26 |
User | Count |
---|---|
91 | |
49 | |
45 | |
38 | |
36 |