Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
Hi all,
Report based on dynamics CRM on-premises data - using DirectQuery.
Can't seem to use the option set label fields like the internet suggests I can, without having all my calculations and visuals show up blank when I do.
eg, I can still access the gobbledegook option set value, but I'm supposed to be able to also directly access the label (name) field - any idea why?
Fairly complex IT infrastructure with a domain trust in place but nothing too restrictive and I'm out of ideas as to why it won't work!
Hi @Gingerjeans88 ,
Dynamics stores the option set label values in a separate table. You'll need to perform a join on it to pull in the label values.
Oh excellent, thanks so much - any help on a basic query I canuse to achieve that and I can just replace the field names with my own? It has been a zillion years since I've had anything to do with T-SQL!
Not sure if it's different in the version of Dynamics you are using, but for D365 the option set data could be in the OptionSetMetadata or GlobalOptionSetMetadata both tables have the same structure.
Something like:
Select OptionSetMetaData.LocalizedLabel AS Categorytypelabel
From Category
Left Join OptionSetMetaData
ON Category.categorytype = OptionSetMetaData.[Option]
AND OptionSetMetaData.OptionSetName = 'categorytype'
Check out the April 2026 Power BI update to learn about new features.
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.
| User | Count |
|---|---|
| 48 | |
| 46 | |
| 41 | |
| 20 | |
| 17 |
| User | Count |
|---|---|
| 70 | |
| 69 | |
| 32 | |
| 27 | |
| 26 |