Eric, you are right. I went back to my code and found that depending on whether your dataset is created from a list of associations (as in your example) or from an association you get different representations.
I've attached a notebook to illustrate the point that
Dataset[<| "a"->1, "b"->2 ....|>] built from a single association displays vertically, while
Dataset[{<| "a"->1, "b"->2 ....|>}] built from a list made of of a single association displays horizontally
I also learned that those two datasets are not === as it is shown at the bottom of the notebook. And since they don't conform in their dimensions you can't even compare them with == (see notebook again)
So, the solution to my problem is to find those places where I create my Dataset from a single Association and make sure I put the Association inside a List.
What I have also found is that a Dataset made of multiple Associations put inside a List display all associations in vertical rows.
But if you try to put all the association pairs inside a single set of <| |>, then you will lose some of the pairs since the last Key->Value pair replaces any previous ones with the same Key. So, you end up with a Dataset with a single set of keys, which makes sense.
Well, I learned a lot from this little exercise.
Eric, I will mark your response as an answer since it made me realize that you can display since row Datasets horizontally depending on how the Dataset was constructed,
Another insidious thing is that in both cases of construction of a single row dataset, one as a List of 1 Association and the other built directly from an association, you usually refer to fields by their keys and the results are the same! This can lead to some interesting head scratching later when you try to compare rows from two differently constructed Datasets. Questions like "Why can't I compare these two rows?"
Well, I could continue on this subject, but living in Dade City, Florida, I have a major hurricane named "Ian" to keep an "eye" out for and am waiting for the inevitable loss of power and internet.
Please keep my little family and pretty much all of Florida's people in your prayers.
Thanks,
Henrick