Forum Discussion

DiePic's avatar
DiePic
Resolver II
1 year ago
Solved

insert data from an array into cards

Hi all,

with filers I can have an array with - Sellers + his performance records - ....

I know that I've only 10 Sellers, so I can insert in my report 10 cards.
There is a way to insert data of my array in cards, something like SellerRecord(1) in 1st card, SellerRecord(2) in 2ndt card, and so on?

Any suggestion will be apprecied.

Thanks in advance.

  • If you have a fix amount of Sellers:

    the easisest approach would be to create 10 measures

    Seller1_TotalSales =
    CALCULATE(
    SUM('YourTable'[SalesAmount]),
    'YourTable'[SellerID] = "SellerID_1" // Replace with the actual ID of the first seller
    )

1 Reply

  • If you have a fix amount of Sellers:

    the easisest approach would be to create 10 measures

    Seller1_TotalSales =
    CALCULATE(
    SUM('YourTable'[SalesAmount]),
    'YourTable'[SellerID] = "SellerID_1" // Replace with the actual ID of the first seller
    )