Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
We have a lakehouse table in our directly lake semantic model that has 5 flag fields containing a 1 or 0 for True/False respectively. We would like to keep them as integers as they are easier to aggregate (e.g. sum/count for percentage), but there is also a requirement to include the fields in a slicer and in this case a Y/N or even Yes/No would be preferable. What is the most efficient way to deal with this sort of thing.
Options considered:
I’m veering towards 4 or 5, but wanted to get some other takes on this problem and check I’m not missing anything.
Thanks
Solved! Go to Solution.
@MarkBurgess I think that both 4 and 5 look good. The simplest is the two versions of each field. If it doesn't blow up your data model that's probably a good way to go. That said, 4 probably keeps the spirit of the star schema.
@MarkBurgess I think that both 4 and 5 look good. The simplest is the two versions of each field. If it doesn't blow up your data model that's probably a good way to go. That said, 4 probably keeps the spirit of the star schema.
Thanks @Greg_Deckler , the separate tables give users a choice between Y/N and Yes/No so might just bite the bullet and treat them as 'proper' dimensions. Appriciate your input.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.