Display Data in a Grid view -MFC c++ dialog based application - c++

By receiving data from excel file , I have developed MFC c++ application. I populated four combo boxes based on data in excel file. By selecting the combo boxes I want to show rest of the data in excel file below the combo boxes. **For data visualization **,
What are the available data visualization grids ?( all the data after the visualization can be accessed easily)
Are there possibility to use excel grid view (just like ruler based data grid view)Figure 1 to display rest of data in the selected excel file.

You can use a ListView control with report-style. See:
List View Control and the MFC classes
CListCtrl Class
CListView Class
Also, you can use Chris Maunder's MFC Grid control

Related

How to use a card as a filter in Power BI?

Is there a way to use a card as a slicer/filter in Power BI?
My report has two cards, "students_eligible" and "students_attended", as well as a table below them. I want to filter the table based on the cards. Meaning, if I click on the “students_eligible” card, then the table should only show the data related to “students_eligible”.
How can I accomplish this?
I’ve included an image below for context.
There is no direct method of using a Card as filter, you can't set it as one or assign a bookmark to an action on it.
What you need to is create for example a shape that sits on top of the visual, turn ofs the fill, background and boarder options, just to leave a transparent shape:
Then create two bookmarks, one with a filter for Students Eligible, and the other for Students Attended. You may have to create a third bookmark assigned to a button or other object to return to 'No filters'.
Assign the bookmark to the shape object and ensure that it is on top of the visual. So when the use no clicks on the card, it will click on the shape, which will then filter the page based on the bookmark.
You can if you wish, just use the Bookmark buttons rather than click on the card object, which may be better from a user point of view
Cards are not clickable by itself.
You can create a bookmark that holds data for the slicer value you want to choose. Also, create a button and add this bookmark to the buttons action property.
Place this button over the card and make the button completely transparent using the background and fill properties.
This provides a user experience of clicking on a card to filter
I recently developed the Slicer Button custom visual that allows one to use a card as a filter (more specifically as a "slicer"). Using a bookmark has some drawbacks and this custom visual allows a card to be used more similarly to a slicer visual.
Below if a YouTube video demonstrating how to setup and use the visual as well as a link to the GitHub repository.
Basic Setup & Use: https://www.youtube.com/watch?v=8x2QoE8M2yA&ab_channel=MattKocak
GitHub Repository: https://github.com/mattkocak/powerbi-visuals-slicerbutton
I'm happy to clarify anything that's unclear regarding the visual. I also have a blog post on the topic titled Turn your cards into slicers with the Slicer Button custom visual.

Is there a "tab control" Control for PowerBi

Is there a Tab Control control in Power Bi that can be dropped onto a dashboard similar to other controls, like checkbox, list, etc. I would like the user to be able to add various inputs on each tab and then be able to plot a line on a chart based on their selections. Each tab on the Tab control would represent a separate product. An image of a tab control can be found at the link below.
Not sure if Power BI has something like that out of the box, but you could roll your own.
It looks like you want a bunch of slicers that are overlapping and come to the top when their "tab" is clicked. You can achieve this by showing/hiding slicers when a button is clicked. Conceptually:
add slicers to the report and arrange to overlap
add buttons to the report and arrange side by side
add bookmarks to the page that show the different hidden/visible states of the slicers
assign the bookmarks to the buttons
Matt Allington has a blog post about this technique. He uses just one slicer panel, so you will need to adjust it to your needs but it has everything you need to do what you describe.

On click of the card control display the data into table control

Simple task but not able to figure out the way.
In Power Bi Report , I have 3 different data tables contains service data. On report we have 3 cards and a table. all the cards display average availability of the service.
the requirement is, on click of the card, I should display the rest of table data in below table control.
thanks in advance for the help.
First save a Bookmark for how you want your table data to appear.
Add a Shape / Rectangle and position it on top of a Card. Set it's Line Color / Weight to 0pts and turn off the Fill. Turn on it's Action and set the Action / Type = Bookmark and choose your new Bookmark (ref above).
Repeat for each Card.
In the latest version of PowerBI Desktop you can add "Bookmark Buttons" and tie their actions to bookmarks.
Filter the table and add a bookmark using the "Bookmark Pane" found
in the View menu.
Create a bookmark button and position it where you want it over the Card.
Resize the button to fit the icon (unless you want a title for that button).
Edit the button's action in the "Visualization Pane" to apply the bookmark you want.
Note in the picture below, the Missing Creative Types bookmark button was selected and the filter was applied to show the 3 rows with the missing data.
Bookmark illustrations

Hover Over Text in PowerBI

Wondering if there's a way to make a text bubble show up when the user hovers over a metric in a Power BI report.
I have tried using alt text, but that does not show up anywhere.
I had the same problem just now, and the documentation page Create tooltips based on report pages in Power BI Desktop describes how to do this. Probably this functionality was not around in March 2018 (when the accepted answer was posted).
Steps
In summary the steps are as follows (assuming you already have a visualization):
Create a new page, name it Tooltip 1
On the Tooltip 1 page, go to Format → Page Information and switch on the Tooltip toggle
Go to Canvas settings and set the Type to Tooltip.
Create a text box via Home → Text box, fill it with the text you want to show when one hovers over your visualization.
Select your visualization
Click on Format → Tooltip
Set Type to Report page
Set Page to Tooltip 1
Now when you hover over the visualization, the text box from step 4 will be shown.
Additions
You can mark the page Tooltip 1 as hidden, such that it does not show up as a tab on your report.
You can also customize the tooltip size by setting the Page size of the tooltip page to Custom with suitable width and height values.
As described in the link, instead of text you can also create a whole visualization.
Currently, I don't think this is possible natively.
There are some ideas related to this that you can vote for:
Custom Alt Text (tooltip) On Hover Over Any Visual
Tooltip for Matrix visual (and others)
Tooltips for Tables
There is also a Dynamic Tooltip custom visual that you might be close enough to what you are looking for.
You can use a transparent shape as an overlay on the text you want the hover over test to appear on
Turn Action On
Type Page Navigation
Destination None
Tooltip - Add the test you want to display on the hover

Power BI, collapsible text

Is there a way to include a collapsible text in a Power BI report?
The purpose would be to add text into the report (essentially explanations for the user on the data and the methodology), but without the text being allways present and taking real state. Right now I elaborate separate documentation on the reports but it could be more effective to be able to have the text appear right when the user needs documentation in the report.
I would add the text as either a Multi-Row Card, Table or Long Text Viewer (Custom Visual).
Then I would reduce the frame size of that object to show just the first line of text. Users can click the Focus Mode button to expand the visual to a full screen view.
That text might event say "Click the Focus Mode button (top right) to expand ...".