Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
The Row count needs to be displayed on a Key card next to the table visual.
The Data of the Table is from two Parameters (Multi-selection) :
'Selected Dimensions P3'[Select Dimensions]
'Selected Measures P3'[Select Measures]
Rows on the Table keeps changing according to the field selection by the viewer. The row count on the key card should simultaneously change to the current number of rows displayed on Table Visual.
Solved! Go to Solution.
Hi @Hitha ,
Thank you for reaching out to Microsoft Fabric Community Forum.
As per our understanding of your scenario, here's the DAX measure that you can use to dynamically count the rows shown in a table visual based on the viewer's selection through field parameters:
DynamicTableRC =
VAR DimFields =
ADDCOLUMNS(
'Selected Dimensions P3',
"IsVisible", ISINSCOPE([Select Dimensions])
)
VAR VisibleDims =
FILTER(DimFields, [IsVisible])
RETURN
COUNTROWS(
SUMMARIZE(
'FactTable', // Replace with your actual base data table
VisibleDims
)
)
If this doesn't meet your scenario, we kindly request you to, share a sample dataset that mimics your use case (without sensitive information) along with the expected output, or upload a sample PBIX file so we can review the structure and assist with a more accurate solution.
Regards,
B Manikanteswara Reddy
Hi @Hitha ,
Thank you for reaching out to Microsoft Fabric Community Forum.
As per our understanding of your scenario, here's the DAX measure that you can use to dynamically count the rows shown in a table visual based on the viewer's selection through field parameters:
DynamicTableRC =
VAR DimFields =
ADDCOLUMNS(
'Selected Dimensions P3',
"IsVisible", ISINSCOPE([Select Dimensions])
)
VAR VisibleDims =
FILTER(DimFields, [IsVisible])
RETURN
COUNTROWS(
SUMMARIZE(
'FactTable', // Replace with your actual base data table
VisibleDims
)
)
If this doesn't meet your scenario, we kindly request you to, share a sample dataset that mimics your use case (without sensitive information) along with the expected output, or upload a sample PBIX file so we can review the structure and assist with a more accurate solution.
Regards,
B Manikanteswara Reddy
Hi @Hitha ,
We wanted to kindly follow up to check if the solution provided for the issue worked? or Let us know if you need any further assistance?
If our response addressed, please mark it as Accept as solution and click Yes if you found it helpful.
Regards,
B Manikanteswara Reddy
Hi @Hitha ,
As we haven’t heard back from you, we wanted to kindly follow up to check if the solution provided for the issue worked? or Let us know if you need any further assistance?
If our response addressed, please mark it as Accept as solution and click Yes if you found it helpful.
Please don't forget to give a "Kudos |
Regards,
B Manikanteswara Reddy
Hi @Hitha
May I ask if you have gotten this issue resolved?
If it is solved, please mark the helpful reply or share your solution and accept it as solution, it will be helpful for other members of the community who have similar problems as yours to solve it faster.
Please don't forget to give a "Kudos |
Regards,
B Manikanteswara Reddy
User | Count |
---|---|
25 | |
12 | |
8 | |
8 | |
7 |
User | Count |
---|---|
27 | |
13 | |
13 | |
11 | |
6 |