March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hi All,
I noticed a mismatch in the data from the Power Query and the loaded table in Power BI. Upon further investigation, things became stranger...
All I am attempting is to do is pivot a column in Power Query without aggregation and load it into PBI. The data is correct in Power Query and not in PBI as these screenshots illustrate. I am not using any DAX in the PBI loaded table and it is not related to anything else in the model (yet).
Further, when I filter the user in the question above in Power Query to only load that user row in PBI, the row completely changes...
I have no idea what is going on or how much of the data is impact. Below is the full M Code for the Power Query.
let
Source = #"Source Data",
#"Removed Other Columns" = Table.SelectColumns(Source,{"Date", "User", "Daily Unique ID", "Event Type"}),
#"Added Custom" = Table.AddColumn(#"Removed Other Columns", "Event Value", each 1),
#"Changed Type" = Table.TransformColumnTypes(#"Added Custom",{{"Event Value", Int64.Type}}),
#"Pivoted Column" = Table.Pivot(#"Changed Type", List.Distinct(#"Changed Type"[#"Event Type"]), "Event Type", "Event Value"),
#"Replaced Value" = Table.ReplaceValue(#"Pivoted Column",null,0,Replacer.ReplaceValue,{"Screening & Sign-In", "Screening Only", "Sign-In", "Other"})
in
#"Replaced Value"
Solved! Go to Solution.
@jguercio - Two things:
DAX is for Analysis. Power Query is for Data Modeling
Proud to be a Super User!
MCSA: BI Reporting@jguercio - Two things:
DAX is for Analysis. Power Query is for Data Modeling
Proud to be a Super User!
MCSA: BI ReportingI too am applying unpivoting and pivoting features with no aggregation, and I am running into the exact same problem. I've tried the suggested steps, but still the problem persists. Are there other possible solutions?
Thank you
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
21 | |
16 | |
13 | |
13 | |
9 |
User | Count |
---|---|
36 | |
31 | |
20 | |
19 | |
17 |