- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Column Not Able To Be Added to Visual
I've got a DAX-created table that shows the total number of appts for a given patient ID, summarized from a much bigger table. The summary table consists of 2 columns, PatientID and Number of Appointments, works like a charm.
I want to put it in a chart, with Number of Appointments as the axis and try to use PatientID as the value (text datatype, will summarize as Count if it works). I cannot drop PatientID into the Visualization "values" field. It just won't take.
I have no idea why it won't - any thoughts from folks?
DAX for aggregation table
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

You have grouped the table based on Patient_ID... so this is dimension not a measure...
In the other hand you want to use it in the chart as measure, which doesnt make sense and obviously PowerBI cannot accept it.
Try to create the table in Power Query editor and then create the chart on desktop
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Unfortunately, it is much too large a table (apparently, as it crashes every time I try) to do this in Power Query, hence the DAX workaround.
This is exactly the same setup as in https://radacad.com/customers-grouped-by-count-of-their-orders-static-segmentation-in-power-bi ... so I'm not sure what the difference is that is preventing me from setting up a chart the same way.

Helpful resources
Subject | Author | Posted | |
---|---|---|---|
08-22-2024 11:32 PM | |||
10-16-2024 01:39 PM | |||
07-08-2023 08:57 AM | |||
Anonymous
| 05-23-2024 11:13 PM | ||
12-29-2023 05:39 AM |
User | Count |
---|---|
140 | |
110 | |
81 | |
60 | |
46 |