Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Anonymous
Not applicable

Table rows increased drastically when measure is added to table

Hi All,

 

I have a table visual, where I have to add one measure. The table consists of data from two dimensions tables (in many to many relationship) and one fact table. As soon as I add the measure into the visual, the rows in the table gets increased drastically. Ideally, the number of rows should be 8 but it is getting increased to more than 7K.

 

The measure looks like:

Pyshglulr_0-1624383347256.png

 

Please help. 

Any support is highly appreciated.

 

Regards

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous 

It sounds like measure expression expands your records hidden by power bi. I'd like to suggest you add 'if statement' to your formula to check if the current fact table exists in correspond records.

Measure =
VAR curr =CALCULATE ( SUM ( Fact[Amount] ), VALUES ( Table[Date] ) )
RETURN
    IF ( curr <> BLANK, TODAY )

Best Regards

Community Support Team _ Ailsa Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Hi @Anonymous 

It sounds like measure expression expands your records hidden by power bi. I'd like to suggest you add 'if statement' to your formula to check if the current fact table exists in correspond records.

Measure =
VAR curr =CALCULATE ( SUM ( Fact[Amount] ), VALUES ( Table[Date] ) )
RETURN
    IF ( curr <> BLANK, TODAY )

Best Regards

Community Support Team _ Ailsa Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

Worked!

Anonymous
Not applicable

Hi @Anonymous ,

 

Thank you for your kind support. It is exposing all the hidden rows. I have tried your solution, and it worked!!!

 

Regards

Anonymous
Not applicable

I am using LIVE connection

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.