This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
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:
Please help.
Any support is highly appreciated.
Regards
Solved! Go to Solution.
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.
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.
Worked!
Hi @Anonymous ,
Thank you for your kind support. It is exposing all the hidden rows. I have tried your solution, and it worked!!!
Regards
I am using LIVE connection
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 30 | |
| 23 | |
| 23 | |
| 20 | |
| 16 |
| User | Count |
|---|---|
| 63 | |
| 38 | |
| 25 | |
| 23 | |
| 22 |